Hover an element with Capybara < 2

Posted . Visible to the public.

You need this awkward command:

page.driver.browser.action.move_to(page.find(selector).native).perform

Note that there are better ways for newer Capybaras Show archive.org snapshot .

Dominik Schöler
Last edit
Keywords
mouseover, onmouseover
License
Source code in this card is licensed under the MIT License.
Posted by Dominik Schöler to makandra dev (2014-06-17 17:55)