Method: Selenium::Client::GeneratedDriver#remove_selection
- Defined in:
- lib/selenium/client/legacy_driver.rb
#remove_selection(locator, optionLocator) ⇒ Object
Remove a selection from the set of selected options in a multi-select element using an option locator.
‘locator’ is an element locator identifying a multi-select box ‘optionLocator’ is an option locator (a label by default)
537 538 539 |
# File 'lib/selenium/client/legacy_driver.rb', line 537 def remove_selection(locator,optionLocator) remote_control_command("removeSelection", [locator,optionLocator,]) end |