function Element::elementNotFound
Builds an ElementNotFoundException.
Parameters
string $type:
string|null $selector:
string|null $locator:
Return value
Deprecated
as of 1.7, to be removed in 2.0
File
-
vendor/
behat/ mink/ src/ Element/ Element.php, line 182
Class
- Element
- Base element.
Namespace
Behat\Mink\ElementCode
protected function elementNotFound(string $type, ?string $selector = null, ?string $locator = null) {
@trigger_error(sprintf('The method %s is deprecated as of 1.7 and will be removed in 2.0', __METHOD__), E_USER_DEPRECATED);
return new ElementNotFoundException($this->driver, $type, $selector, $locator);
}