An NDoc Documented Class Library |

# DefaultSelenium.GetSelectedLabel Method

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

public 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

#### Implements

ISelenium.GetSelectedLabel

#### See Also

DefaultSelenium Class | Selenium Namespace