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.



47
48
49
50
# File 'lib/selenium/webdriver/common/mouse.rb', line 47

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