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.
2 parents 752a598 + 3f9606a commit 518a9e0Copy full SHA for 518a9e0
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