Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DriverInterface.php

function 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.

Return value

void

Throws

DriverException When the driver cannot be started

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

File

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

Class

DriverInterface
Driver interface.

Namespace

Behat\Mink\Driver

Code

public function start();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal