Skip to content

Commit

Permalink
#16 default timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-andreyev committed Dec 23, 2020
1 parent 7b2c2fd commit d09bf45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/WebDriverConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ public function createDriver()
$driver = new WebDriver($browser, [], $seleniumHost);
$driver->setDesiredCapabilities($desiredCapabilities);

// https://developer.mozilla.org/en-US/docs/Web/WebDriver/Commands/SetTimeouts
$driver->setTimeouts(array('implicit' => 0, 'pageLoad' => 300000, 'script' => 30000));

return $this->driver = $driver;
}

Expand Down

0 comments on commit d09bf45

Please sign in to comment.