You are here

public function BrowserKitConfig::createDriver in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink-browserkit-driver/tests/BrowserKitConfig.php \Behat\Mink\Tests\Driver\BrowserKitConfig::createDriver()

Creates driver instance.

Return value

DriverInterface

Overrides AbstractConfig::createDriver

File

vendor/behat/mink-browserkit-driver/tests/BrowserKitConfig.php, line 18

Class

BrowserKitConfig

Namespace

Behat\Mink\Tests\Driver

Code

public function createDriver() {
  $client = new Client(require __DIR__ . '/app.php');
  return new BrowserKitDriver($client);
}