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

Namespace: Selenium
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public string[] GetSelectedLabels(
	string selectLocator
)

Return Value

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

Implements

ISelenium GetSelectedLabels(String)
See Also