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

Breadcrumb

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

function Selenium2Driver::getWebDriverSession

Gets the WebDriverSession instance

Return value

Session

Throws

DriverException if the session is not started

1 call to Selenium2Driver::getWebDriverSession()
Selenium2Driver::isW3C in vendor/lullabot/mink-selenium2-driver/src/Selenium2Driver.php
Checks if the WebDriver session is W3C compatible.

File

vendor/lullabot/mink-selenium2-driver/src/Selenium2Driver.php, line 196

Class

Selenium2Driver
Selenium2 driver.

Namespace

Behat\Mink\Driver

Code

public function getWebDriverSession() {
    if ($this->wdSession === null) {
        throw new DriverException('The driver is not started.');
    }
    return $this->wdSession;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal