Method: Selenium::Client::GeneratedDriver#mouse_move

Defined in:
lib/selenium/client/legacy_driver.rb

#mouse_move(locator) ⇒ Object

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

‘locator’ is an element locator



395
396
397
# File 'lib/selenium/client/legacy_driver.rb', line 395

def mouse_move(locator)
    remote_control_command("mouseMove", [locator,])
end