You are here

public function DriverInterface::start in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/src/Driver/DriverInterface.php \Behat\Mink\Driver\DriverInterface::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

1 method overrides DriverInterface::start()
CoreDriver::start in vendor/behat/mink/src/Driver/CoreDriver.php
Starts driver.

File

vendor/behat/mink/src/Driver/DriverInterface.php, line 51

Class

DriverInterface
Driver interface.

Namespace

Behat\Mink\Driver

Code

public function start();