Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Session.php

function Session::__construct

Same name in this branch
  1. 11.1.x vendor/behat/mink/src/Session.php \Behat\Mink\Session::__construct()
  2. 11.1.x vendor/symfony/http-foundation/Session/Session.php \Symfony\Component\HttpFoundation\Session\Session::__construct()
  3. 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

WebDriver

Code

public function __construct($url, $capabilities) {
    parent::__construct($url);
    $this->capabilities = $capabilities;
    $this->w3c = !!$capabilities;
}
RSS feed
Powered by Drupal