Method: Selenium::SeleniumDriver#get_selected_label

Defined in:
lib/selenium-client.rb

#get_selected_label(selectLocator) ⇒ Object

Gets option label (visible text) for selected option in the specified select element.

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



1084
1085
1086
# File 'lib/selenium-client.rb', line 1084

def get_selected_label(selectLocator)
    return get_string("getSelectedLabel", [selectLocator,])
end