We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 752a598 commit 3f9606aCopy full SHA for 3f9606a
lib/WebDriverWait.php
@@ -35,7 +35,7 @@ public function __construct(
35
$timeout_in_second = null,
36
$interval_in_millisecond = null) {
37
$this->driver = $driver;
38
- $this->timeout = $timeout_in_second ?: 30;
+ $this->timeout = isset($timeout_in_second) ? $timeout_in_second : 30;
39
$this->interval = $interval_in_millisecond ?: 250;
40
}
41
0 commit comments