public function TraversableElement::hasSelect in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/src/Element/TraversableElement.php \Behat\Mink\Element\TraversableElement::hasSelect()
Checks whether element has a select field with specified locator.
Parameters
string $locator select id, name or label:
Return value
Boolean
File
- vendor/
behat/ mink/ src/ Element/ TraversableElement.php, line 238
Class
- TraversableElement
- Traversable element.
Namespace
Behat\Mink\ElementCode
public function hasSelect($locator) {
return $this
->has('named', array(
'select',
$locator,
));
}