You are here

class BrowserKitConfig 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

Hierarchy

Expanded class hierarchy of BrowserKitConfig

File

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

Namespace

Behat\Mink\Tests\Driver
View 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

Namesort descending Modifiers Type Description Overrides
AbstractConfig::mapRemoteFilePath public function Map remote file path.
AbstractConfig::skipMessage public function
AbstractConfig::supportsCss protected function Whether the CSS tests should run or no.
BrowserKitConfig::createDriver public function Creates driver instance. Overrides AbstractConfig::createDriver
BrowserKitConfig::getInstance public static function
BrowserKitConfig::getWebFixturesUrl public function Gets the base url to the fixture folder. Overrides AbstractConfig::getWebFixturesUrl
BrowserKitConfig::supportsJs protected function Whether the JS tests should run or no. Overrides AbstractConfig::supportsJs