Method: Selenium::WebDriver::Mouse#down

Defined in:
lib/selenium/webdriver/common/mouse.rb

#down(element = nil) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

[View source]

26
27
28
29
# File 'lib/selenium/webdriver/common/mouse.rb', line 26

def down(element = nil)
  move_if_needed element
  @bridge.mouseDown
end