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

Breadcrumb

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

function Selenium2Driver::setTimeouts

Sets the timeouts to apply to the webdriver session

Parameters

array{script?: int, implicit?: int, page?: int} $timeouts times are in milliseconds:

Return value

void

Throws

DriverException

File

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

Class

Selenium2Driver
Selenium2 driver.

Namespace

Behat\Mink\Driver

Code

public function setTimeouts(array $timeouts) {
    $this->timeouts = $timeouts;
    if ($this->isStarted()) {
        $this->applyTimeouts();
    }
}

API Navigation

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