Created
May 11, 2011 20:56
-
-
Save tysonmote/967333 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment