title: Error of popup box: unable to locate element, using
body: <p>I wrote this code in console: <code>@b.text_field(:name =&gt; 'popupbox[title]').set 'Title'</code></p>
  
  <p>There was no error, all works.</p>
  
  <p>I wrote this code in step definition: <code>@b.text_field(:name =&gt; 'popupbox[title]').set 'Title'</code></p>
  
  <p>An error occured: unable to locate element, using...</p>
  
  <p>I use Chrome. In Firefox everything works, but nothing works in Chrome...</p>
  
  <p>Where is a problem?</p>
  
  <p><strong>Gemfile:</strong></p>
  
  <pre><code>group :test do      
    gem 'watir-webdriver'  
    gem 'chromedriver-helper'
    gem 'selenium-webdriver'    
    gem 'cucumber'    
    gem 'cucumber-rails'    
    gem 'database_cleaner'    
    gem 'factory_girl_rails'    
    gem 'rspec-rails'    
    gem 'spork'    
    gem 'watchr'    
    gem 'capybara'    
    gem 'email_spec'    
    gem 'watir-page-helper'      
  end
  </code></pre>