function Element::has
Overrides ElementInterface::has
3 calls to Element::has()
- DocumentElement::hasContent in vendor/
behat/ mink/ src/ Element/ DocumentElement.php - Check whether document has specified content.
- TraversableElement::hasSelect in vendor/
behat/ mink/ src/ Element/ TraversableElement.php - Checks whether element has a select field with specified locator.
- TraversableElement::hasTable in vendor/
behat/ mink/ src/ Element/ TraversableElement.php - Checks whether element has a table with specified locator.
File
-
vendor/
behat/ mink/ src/ Element/ Element.php, line 96
Class
- Element
- Base element.
Namespace
Behat\Mink\ElementCode
public function has(string $selector, $locator) {
return null !== $this->find($selector, $locator);
}