automatically approve invalid https certificated

develop
Sascha Nitsch 2024-08-29 20:09:15 +02:00
parent affdd5bee9
commit aff1643bb3
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ class Control
} }
if ($openSession) { 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']; $this->session = $sessionData['sessionId'];
} }
return $this->session; return $this->session;