Method: Selenium::Client::GeneratedDriver#get_selected_ids

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

#get_selected_ids(selectLocator) ⇒ Object

Gets all option element IDs for selected options in the specified select or multi-select element.

‘selectLocator’ is an element locator identifying a drop-down menu



1037
1038
1039
# File 'lib/selenium/client/legacy_driver.rb', line 1037

def get_selected_ids(selectLocator)
    return string_array_command("getSelectedIds", [selectLocator,])
end