title: Rails + Capybara: clicking link with evaluate_script freezes webdriver
body: <p>I run the following in my <code>js: true</code> request spec:</p>
  
  <pre><code>page.evaluate_script("$('#sign-up').click();")
  </code></pre>
  
  <p>That opens the modal successfully. However, the webdriver freezes at that point, regardless of what comes next in the spec. After a long pause, I get:</p>
  
  <pre><code> Failure/Error: 
   Timeout::Error:
     Timeout::Error
   # ./spec/requests/my_spec.rb:14:in `block (3 levels) in &lt;top (required)&gt;'
  </code></pre>
  
  <p>I want to use <code>evaluate_script</code> instead of 'click_on' in this case, because there is no <code>href</code> attribute on that particular link (click_on doesn't work). How do I get it to work without timing out?</p>