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 d089ddf + 39d8be5 commit b6e002eCopy full SHA for b6e002e
lib/chrome/ChromeDriver.php
@@ -41,11 +41,18 @@ public function startSession($desired_capabilities) {
41
$this->setSessionID($response->getSessionID());
42
}
43
44
- public static function create() {
+ public static function create(
45
+ $url = 'http://localhost:4444/wd/hub',
46
+ $desired_capabilities = null,
47
+ $timeout_in_ms = 300000
48
+ ) {
49
throw new WebDriverException('Please use ChromeDriver::start() instead.');
50
51
- public static function createBySessionID() {
52
+ public static function createBySessionID(
53
+ $session_id,
54
+ $url = 'http://localhost:4444/wd/hub'
55
56
57
58
0 commit comments