You are here

public function ErrorHandlingTest::testGetCurrentUrlWithoutVisit 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::testGetCurrentUrlWithoutVisit()

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

File

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

Class

ErrorHandlingTest

Namespace

Behat\Mink\Tests\Driver\Custom

Code

public function testGetCurrentUrlWithoutVisit() {
  $this
    ->getDriver()
    ->getCurrentUrl();
}