Method: Selenium::Client::GeneratedDriver#mouse_move_at
- Defined in:
- lib/selenium/client/legacy_driver.rb
#mouse_move_at(locator, coordString) ⇒ Object
Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
‘locator’ is an element locator ‘coordString’ is specifies the x,y position (i.e. - 10,20) of the mouse event relative to the element returned by the locator.
405 406 407 |
# File 'lib/selenium/client/legacy_driver.rb', line 405 def mouse_move_at(locator,coordString) remote_control_command("mouseMoveAt", [locator,coordString,]) end |