Method: Selenium::Client::GeneratedDriver#click

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

#click(locator) ⇒ Object

Clicks on a link, button, checkbox or radio button. If the click action causes a new page to load (like a link usually does), call waitForPageToLoad.

‘locator’ is an element locator

[View source]

144
145
146
# File 'lib/selenium/client/legacy_driver.rb', line 144

def click(locator)
    remote_control_command("click", [locator,])
end