You are here

public function CoreDriver::stop in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/behat/mink/src/Driver/CoreDriver.php \Behat\Mink\Driver\CoreDriver::stop()

Stops driver.

Once stopped, the driver should be started again before using it again.

Calling any action on a stopped driver is an undefined behavior. The only supported method call after stopping a driver is starting it again.

Calling stop on a stopped 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 closed

Overrides DriverInterface::stop

1 method overrides CoreDriver::stop()
BrowserKitDriver::stop in vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php
Stops driver.

File

vendor/behat/mink/src/Driver/CoreDriver.php, line 57

Class

CoreDriver
Core driver. All other drivers should extend this class for future compatibility.

Namespace

Behat\Mink\Driver

Code

public function stop() {
  throw new UnsupportedDriverActionException('Stopping the driver is not supported by %s', $this);
}