public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
ruby-1.8.7-p302 > browser = Selenium::WebDriver.for( :chrome ) => #<Selenium::WebDriver::Driver:0x1091d18c0 browser=:chrome>
ruby-1.8.7-p302 > browser.mouse_over( :link_text => "Reporting" )
NoMethodError: undefined method `mouse_over' for #<Selenium::WebDriver::Driver:0x1091d18c0 browser=:chrome>
from (irb):40
from :0
ruby-1.8.7-p302 > mouse = Selenium::WebDriver::Mouse.new( browser )
=> #<Selenium::WebDriver::Mouse:0x1091cfcc8 @bridge=#<Selenium::WebDriver::Driver:0x1091d18c0 browser=:chrome>>
ruby-1.8.7-p302 > mouse.move_to( browser.find_element( :link_text => "Reporting" ) )
NoMethodError: undefined method `mouseMoveTo' for #<Selenium::WebDriver::Driver:0x1091d18c0 browser=:chrome>
from /Users/tyson/C2/builder/gems/gems/selenium-webdriver-0.2.0/lib/selenium/webdriver/common/mouse.rb:50:in `move_to'
from (irb):44
from :0
ruby-1.8.7-p302 > browser.mouse.move_to( browser.find_element( :link_text => "Reporting" ) )
NoMethodError: undefined method `mouse' for #<Selenium::WebDriver::Driver:0x1091d18c0 browser=:chrome>
from (irb):42
from :0

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.