Testing_Selenium::getSelectedLabels
Gets all option labels (visible text) for selected options in the specified select or multi-select element.
Signature
public function getSelectedLabels(string
$selectLocator )
Parameters
-
$selectLocator
- an element locator identifying a drop-down menu
Returns
- array
- an array of all selected option labels in the specified select drop-down