An NDoc Documented Class Library

ISelenium.GetSelectedLabel Method 

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

string GetSelectedLabel(
   string selectLocator
);

Parameters

selectLocator
an element locator identifying a drop-down menu

Return Value

the selected option label in the specified select drop-down

See Also

ISelenium Interface | Selenium Namespace