You need this awkward command:
page.driver.browser.action.move_to(page.find(selector).native).perform
Save money by migrating from AWS to our fully managed hosting in Germany.
Note that there are better ways for newer Capybaras Show archive.org snapshot .