Method: Selenium::SeleniumDriver#mouse_down

Defined in:
lib/selenium/openqa/selenium.rb

#mouse_down(locator) ⇒ Object

Simulates a user pressing the mouse button (without releasing it yet) on the specified element.

‘locator’ is an element locator



391
392
393
# File 'lib/selenium/openqa/selenium.rb', line 391

def mouse_down(locator)
    do_command("mouseDown", [locator,])
end