public function ElementHtmlException::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/src/Exception/ElementHtmlException.php \Behat\Mink\Exception\ElementHtmlException::__construct()
Initializes exception.
Parameters
string $message optional message:
DriverInterface|Session $driver driver instance:
Element $element element:
\Exception $exception expectation exception:
Overrides ExpectationException::__construct
File
- vendor/
behat/ mink/ src/ Exception/ ElementHtmlException.php, line 39
Class
- ElementHtmlException
- Exception thrown when an expectation on the HTML of an element fails.
Namespace
Behat\Mink\ExceptionCode
public function __construct($message, $driver, Element $element, \Exception $exception = null) {
$this->element = $element;
parent::__construct($message, $driver, $exception);
}