function Selenium2Driver::applyTimeouts
Applies timeouts to the current session
2 calls to Selenium2Driver::applyTimeouts()
- Selenium2Driver::setTimeouts in vendor/
lullabot/ mink-selenium2-driver/ src/ Selenium2Driver.php - Sets the timeouts to apply to the webdriver session
- Selenium2Driver::start in vendor/
lullabot/ mink-selenium2-driver/ src/ Selenium2Driver.php - Starts driver.
File
-
vendor/
lullabot/ mink-selenium2-driver/ src/ Selenium2Driver.php, line 393
Class
- Selenium2Driver
- Selenium2 driver.
Namespace
Behat\Mink\DriverCode
private function applyTimeouts() : void {
try {
foreach ($this->timeouts as $type => $param) {
$this->getWebDriverSession()
->timeouts($type, $param);
}
} catch (UnknownError $e) {
throw new DriverException('Error setting timeout: ' . $e->getMessage(), 0, $e);
}
}