automatically approve invalid https certificated
This commit is contained in:
parent
affdd5bee9
commit
aff1643bb3
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ class Control
|
|||
}
|
||||
|
||||
if ($openSession) {
|
||||
$sessionData = $this->execute('POST', "session", '{"capabilities" : {"alwaysMatch": {"moz:firefoxOptions":{"prefs":{"browser.display.os-zoom-behavior": 0,"layout.css.prefers-color-scheme.content-override": 1}}}, "firstMatch": [{"browserName": "firefox"}]}}');
|
||||
$sessionData = $this->execute('POST', "session", '{"capabilities" : {"alwaysMatch": {"acceptInsecureCerts": true, "moz:firefoxOptions":{"prefs":{"browser.display.os-zoom-behavior": 0,"layout.css.prefers-color-scheme.content-override": 1}}}, "firstMatch": [{"browserName": "firefox"}]}}');
|
||||
$this->session = $sessionData['sessionId'];
|
||||
}
|
||||
return $this->session;
|
||||
|
|
Loading…
Reference in a new issue