class BrowserKitConfig 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
Hierarchy
- class \Behat\Mink\Tests\Driver\AbstractConfig
- class \Behat\Mink\Tests\Driver\BrowserKitConfig
Expanded class hierarchy of BrowserKitConfig
File
- vendor/
behat/ mink-browserkit-driver/ tests/ BrowserKitConfig.php, line 8
Namespace
Behat\Mink\Tests\DriverView source
class BrowserKitConfig extends AbstractConfig {
public static function getInstance() {
return new self();
}
/**
* {@inheritdoc}
*/
public function createDriver() {
$client = new Client(require __DIR__ . '/app.php');
return new BrowserKitDriver($client);
}
/**
* {@inheritdoc}
*/
public function getWebFixturesUrl() {
return 'http://localhost';
}
protected function supportsJs() {
return false;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AbstractConfig:: |
public | function | Map remote file path. | |
AbstractConfig:: |
public | function | ||
AbstractConfig:: |
protected | function | Whether the CSS tests should run or no. | |
BrowserKitConfig:: |
public | function |
Creates driver instance. Overrides AbstractConfig:: |
|
BrowserKitConfig:: |
public static | function | ||
BrowserKitConfig:: |
public | function |
Gets the base url to the fixture folder. Overrides AbstractConfig:: |
|
BrowserKitConfig:: |
protected | function |
Whether the JS tests should run or no. Overrides AbstractConfig:: |