You are here

public function ErrorHandlingTest::testFindWithoutVisit in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink-browserkit-driver/tests/Custom/ErrorHandlingTest.php \Behat\Mink\Tests\Driver\Custom\ErrorHandlingTest::testFindWithoutVisit()

@expectedException \Behat\Mink\Exception\DriverException @expectedExceptionMessage Unable to access the response content before visiting a page

File

vendor/behat/mink-browserkit-driver/tests/Custom/ErrorHandlingTest.php, line 39

Class

ErrorHandlingTest

Namespace

Behat\Mink\Tests\Driver\Custom

Code

public function testFindWithoutVisit() {
  $this
    ->getDriver()
    ->find('//html');
}