Skip to content

Commit

Permalink
Give the driver time to start up
Browse files Browse the repository at this point in the history
  • Loading branch information
duncan3dc committed Apr 5, 2018
1 parent 38f7397 commit 0960d8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Drivers/Chrome.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public function start(): DriverInterface
if (!$this->process) {
$this->process = (new ChromeProcess($this->port))->toProcess();
$this->process->start();
sleep(1);
}

return $this;
Expand Down

0 comments on commit 0960d8e

Please sign in to comment.