automatically approve invalid https certificated
parent
affdd5bee9
commit
aff1643bb3
|
@ -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 New Issue