title: Capybara selenium driver, hovering an element
body: <p>The app I'm testing has some elements hidden initially.  They will display via CSS when hovering over a separate element:</p>
  
  <pre><code>.thread_options{
    display: none;
  }
  .btn_thread_options:hover .thread_options{
    display: inline;
  }
  </code></pre>
  
  <p>When you hover over the <code>.btn_thread_options</code> element, some links are displayed that I want Capybara to click on.  Attempting to click these without doing anything using <code>click_link "Send Response"</code> gives me the error:</p>
  
  <pre><code>Failure/Error: click_link("Send Response")
  Selenium::WebDriver::Error::ElementNotVisibleError:
    Element is not currently visible and so may not be interacted with
  </code></pre>
  
  <p>Trying to use other ways of clicking it like</p>
  
  <pre><code>page.execute_script("$('.btn_thread_options').trigger('mouseover')")
  </code></pre>
  
  <p>Doesn't work either (same result).</p>
  
  <p>Nor does clicking the item first to try to force it to be moused over:</p>
  
  <pre><code>page.find(".btn_thread_options").click
  </code></pre>
  
  <p>Is there any way to get this to work correctly?</p>