Method: Selenium::Client::GeneratedDriver#click_at
- Defined in:
- lib/selenium/client/legacy_driver.rb
#click_at(locator, coordString) ⇒ 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 ‘coordString’ is specifies the x,y position (i.e. - 10,20) of the mouse event relative to the element returned by the locator.
173 174 175 |
# File 'lib/selenium/client/legacy_driver.rb', line 173 def click_at(locator,coordString) remote_control_command("clickAt", [locator,coordString,]) end |