You are here

private function ErrorHandlingTest::getDriver 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::getDriver()
4 calls to ErrorHandlingTest::getDriver()
ErrorHandlingTest::testClickOnUnsupportedElement in vendor/behat/mink-browserkit-driver/tests/Custom/ErrorHandlingTest.php
@expectedException \Behat\Mink\Exception\DriverException @expectedExceptionMessage Behat\Mink\Driver\BrowserKitDriver supports clicking on links and submit or reset buttons only. But "div" provided
ErrorHandlingTest::testInvalidHtml5FormId in vendor/behat/mink-browserkit-driver/tests/Custom/ErrorHandlingTest.php
@expectedException \Behat\Mink\Exception\DriverException @expectedExceptionMessage The selected node has an invalid form attribute (foo)
ErrorHandlingTest::testManipulateInputWithoutForm in vendor/behat/mink-browserkit-driver/tests/Custom/ErrorHandlingTest.php
@expectedException \Behat\Mink\Exception\DriverException @expectedExceptionMessage The selected node does not have a form ancestor.
ErrorHandlingTest::testNotMatchingHtml5FormId in vendor/behat/mink-browserkit-driver/tests/Custom/ErrorHandlingTest.php
@expectedException \Behat\Mink\Exception\DriverException @expectedExceptionMessage The selected node has an invalid form attribute (foo)

File

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

Class

ErrorHandlingTest

Namespace

Behat\Mink\Tests\Driver\Custom

Code

private function getDriver() {
  return new BrowserKitDriver($this->client);
}