function Session::__construct
Same name in this branch
- 11.1.x vendor/behat/mink/src/Session.php \Behat\Mink\Session::__construct()
- 11.1.x vendor/symfony/http-foundation/Session/Session.php \Symfony\Component\HttpFoundation\Session\Session::__construct()
- 11.1.x core/lib/Drupal/Core/StackMiddleware/Session.php \Drupal\Core\StackMiddleware\Session::__construct()
Constructor
Parameters
string $url URL to Selenium server:
array|null $capabilities:
Overrides Container::__construct
File
-
vendor/
lullabot/ php-webdriver/ lib/ WebDriver/ Session.php, line 123
Class
- Session
- WebDriver\Session class
Namespace
WebDriverCode
public function __construct($url, $capabilities) {
parent::__construct($url);
$this->capabilities = $capabilities;
$this->w3c = !!$capabilities;
}