Method: Selenium::WebDriver::Mouse#click
- Defined in:
- lib/selenium/webdriver/common/mouse.rb
permalink #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.
11 12 13 14 |
# File 'lib/selenium/webdriver/common/mouse.rb', line 11 def click(element = nil) move_if_needed element @bridge.click end |