title: Unable to find field “q” (Capybara::ElementNotFound) via fill_in
body: <p>Trying to get the "what" form (aka job title), from indeed.com</p>
  
  <p>Error when trying to run the program:</p>
  
  <pre><code>/var/lib/gems/2.3.0/gems/capybara-2.11.0/lib/capybara/node/finders.rb:44:in `block in find': Unable to find field "q" (Capybara::ElementNotFound)
  </code></pre>
  
  <p>Inspecting element via firefox from indeed.com yields: <code>name="q"</code></p>
  
  <pre><code>&lt;span class="inwrap"&gt;
  &lt;input class="input_text" maxlength="512" size="31" aria-labelledby="what_label_top hidden_colon what_label_bot" name="q" autocomplete="off" id="what"&gt;
  &lt;/span&gt;
  &lt;div style="width:250px"&gt;&lt;!-- --&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Which matches the code in the scraper:</p>
  
  <pre><code>def perform_search
  # For indeed
  fill_in 'q', :with =&gt; @skillset
  fill_in 'l', :with =&gt; @region
  find('#fj').click
  sleep(1)
  end
  </code></pre>
  
  <p>The entire code can be found at:
  <a href="https://github.com/jasnow/job-hunter/blob/master/scraper.rb" rel="nofollow noreferrer">https://github.com/jasnow/job-hunter/blob/master/scraper.rb</a></p>
  
  <p>Now the problem here is the inability to locate <code>name="q"</code> Are there any other ways I could link to that form on indeed.com so I could initiate webscraping? I'm talking xpath or css perhaps.</p>