Skip to content

Commit 6029d7d

Browse files
authored
Merge pull request #322 from mvorisek/patch-1
Improve responsivity (reduce fixed delay from 100 ms to 10 ms)
2 parents 312a967 + 1469095 commit 6029d7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Selenium2Driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ public function wait($timeout, $condition)
978978

979979
do {
980980
$result = $this->wdSession->execute(array('script' => $script, 'args' => array()));
981-
usleep(100000);
981+
usleep(10000);
982982
} while (microtime(true) < $end && !$result);
983983

984984
return (bool) $result;

0 commit comments

Comments
 (0)