Method: Selenium::Client::GeneratedDriver#mouse_down
- Defined in:
- lib/selenium/client/legacy_driver.rb
#mouse_down(locator) ⇒ Object
Simulates a user pressing the left mouse button (without releasing it yet) on the specified element.
‘locator’ is an element locator
319 320 321 |
# File 'lib/selenium/client/legacy_driver.rb', line 319 def mouse_down(locator) remote_control_command("mouseDown", [locator,]) end |