Skip to content

Commit

Permalink
Merge pull request #259 from metaer/timeout_options
Browse files Browse the repository at this point in the history
Pass timeout options to RemoteWebDriver
  • Loading branch information
dunglas committed Jan 17, 2020
2 parents c42b5b1 + 21e87cc commit ff74beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ProcessManager/ChromeManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function start(): WebDriver
}
}

return RemoteWebDriver::create($url, $capabilities);
return RemoteWebDriver::create($url, $capabilities, $this->options['connection_timeout_in_ms'] ?? null, $this->options['request_timeout_in_ms'] ?? null);
}

public function quit(): void
Expand Down

0 comments on commit ff74beb

Please sign in to comment.