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

Breadcrumb

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

function Selenium2Driver::isW3C

Checks if the WebDriver session is W3C compatible.

Return value

bool

Throws

DriverException

14 calls to Selenium2Driver::isW3C()
Selenium2Driver::attachFile in vendor/lullabot/mink-selenium2-driver/src/Selenium2Driver.php
Attaches file path to file field located by its XPath query.
Selenium2Driver::doMouseOver in vendor/lullabot/mink-selenium2-driver/src/Selenium2Driver.php
Selenium2Driver::doubleClick in vendor/lullabot/mink-selenium2-driver/src/Selenium2Driver.php
Double-clicks button or link located by its XPath query.
Selenium2Driver::dragTo in vendor/lullabot/mink-selenium2-driver/src/Selenium2Driver.php
Drag one element onto another.
Selenium2Driver::executeJsOnElement in vendor/lullabot/mink-selenium2-driver/src/Selenium2Driver.php
Executes JS on a given element - pass in a js script string and {{ELEMENT}} will be replaced with a reference to the element

... See full list

File

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

Class

Selenium2Driver
Selenium2 driver.

Namespace

Behat\Mink\Driver

Code

public function isW3C() {
    if (method_exists($this->getWebDriverSession(), 'isW3C')) {
        return $this->getWebDriverSession()
            ->isW3C();
    }
    return false;
}

API Navigation

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