Method: Selenium::Client::GeneratedDriver#context_menu
- Defined in:
- lib/selenium/client/legacy_driver.rb
permalink #context_menu(locator) ⇒ Object
Simulates opening the context menu for the specified element (as might happen if the user “right-clicked” on the element).
‘locator’ is an element locator
162 163 164 |
# File 'lib/selenium/client/legacy_driver.rb', line 162 def (locator) remote_control_command("contextMenu", [locator,]) end |