Method: Selenium::WebDriver::Mouse#click

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

#click(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.


32
33
34
35
# File 'lib/selenium/webdriver/common/mouse.rb', line 32

def click(element = nil)
  move_if_needed element
  @bridge.click
end