Method: Selenium::SeleniumDriver#remove_all_selections
- Defined in:
- lib/selenium-client.rb
#remove_all_selections(locator) ⇒ Object
Unselects all of the selected options in a multi-select element.
‘locator’ is an element locator identifying a multi-select box
663 664 665 |
# File 'lib/selenium-client.rb', line 663 def remove_all_selections(locator) do_command("removeAllSelections", [locator,]) end |