follow me icons

Tuesday, May 7, 2013

Capybara Hover Over Element

To emulate mouse hover with Capybara use the following method:

find(:css, "#menu_bar").hover

I am using capybara (2.1.0) and selenium-webdriver (2.32.1)