Method: Selenium::Client::GeneratedDriver#get_select_options

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

#get_select_options(selectLocator) ⇒ Object

Gets all option labels in the specified select drop-down.

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



1061
1062
1063
# File 'lib/selenium/client/legacy_driver.rb', line 1061

def get_select_options(selectLocator)
    return string_array_command("getSelectOptions", [selectLocator,])
end