Testing_Selenium::getSelectedLabel
Gets option label (visible text) for selected option in the specified select element.
Signature
public function getSelectedLabel(string
$selectLocator )
Parameters
-
$selectLocator
- an element locator identifying a drop-down menu
Returns
- string
- the selected option label in the specified select drop-down