How to get around undefined method `send_keys'
<p>I'm getting <code>undefined method 'send_keys'</code> when running feature tests in our Ruby on Rails application we've been using over the past 3 years when trying to run our rspec-capybara tests</p>

<p>We have the <code>gem 'selenium-webdriver', '~&gt; 2.47.1'</code> in our <code>Gemfile</code> and it shows in Gemfile.lock</p>

<p>we suspect we're not using the right driver but given our <code>Gemfile</code>, not sure why not</p>

<p>HTML we're targeting:</p>

<pre><code>&lt;input class="zip-code-input" id="landing-zip-code" maxlength="5" name="landing[zip_code]"
pattern="[0-9]*" placeholder="ZIP Code" size="5" tabindex="1" title="Five-Digit ZIP Code"  
value="" type="text"&gt;
</code></pre>

<p>I see a lot of references to rack in the Gemfile.lock, i.e.</p>

<pre><code>$ bundle | grep rack
Using rack 1.4.7
Using crack 0.3.2
Using rack-cache 1.5.1
Using rack-test 0.6.3
Using rack-ssl 1.3.4
Using rack-protection 1.5.3
Using rack_session_access 0.1.1
</code></pre>

<p>but I've been unable to find any way to change that</p>

<p>send_keys is documented here:<br>
<a href="https://selenium.googlecode.com/svn/trunk/docs/api/rb/Selenium/WebDriver/Element.html#send_keys-instance_method" rel="nofollow">https://selenium.googlecode.com/svn/trunk/docs/api/rb/Selenium/WebDriver/Element.html#send_keys-instance_method</a></p>