protected function ResponseTextException::getContext in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/src/Exception/ResponseTextException.php \Behat\Mink\Exception\ResponseTextException::getContext()
Gets the context rendered for this exception.
Return value
string
Overrides ExpectationException::getContext
File
- vendor/
behat/ mink/ src/ Exception/ ResponseTextException.php, line 20
Class
- ResponseTextException
- Exception thrown when an expectation on the response text fails.
Namespace
Behat\Mink\ExceptionCode
protected function getContext() {
return $this
->getDriver()
->getText('//html');
}