An NDoc Documented Class Library |

# DefaultSelenium.GetSelectedLabels Method

Gets all option labels (visible text) for selected options in the specified select or multi-select element.

public string[] GetSelectedLabels(
string selectLocator
);

#### Parameters

selectLocator
  an element locator identifying a drop-down menu

#### Return Value

an array of all selected option labels in the specified select drop-down

#### Implements

ISelenium.GetSelectedLabels

#### See Also

DefaultSelenium Class | Selenium Namespace