You are here

public function BrowserKitDriver::start in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php \Behat\Mink\Driver\BrowserKitDriver::start()

Starts driver.

Once started, the driver should be ready to visit a page.

Calling any action before visiting a page is an undefined behavior. The only supported method calls on a fresh driver are

  • visit()
  • setRequestHeader()
  • setBasicAuth()
  • reset()
  • stop()

Calling start on a started driver is an undefined behavior. Driver implementations are free to handle it silently or to fail with an exception.

Throws

DriverException When the driver cannot be started

Overrides CoreDriver::start

File

vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php, line 106

Class

BrowserKitDriver
Symfony2 BrowserKit driver.

Namespace

Behat\Mink\Driver

Code

public function start() {
  $this->started = true;
}