Hovering over elements 04/03/2013
# It is easiest to test with an element that changes visually when hovering over it

# Hovering over a link
browser.link(id: 'link-with-hover-effect').hover

# Hovering over a div
browser.div(id: 'div-with-hover-effect').hover

Hover is a method that exists for all HTML elements and can be accomplished by finding an element and calling the hover method on it.