public function BrowserKitConfig::createDriver in Zircon Profile 8
Same name and namespace in other branches
- 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
Namespace
Behat\Mink\Tests\DriverCode
public function createDriver() {
$client = new Client(require __DIR__ . '/app.php');
return new BrowserKitDriver($client);
}