RSpec.configure do |config|
  Capybara.javascript_driver = :webkit
end

page.find('#element').trigger(:mouseover)