Don't validate SSL certificates

This commit is contained in:
Chandler Swift 2022-04-02 00:25:20 -05:00
parent c9f0315db5
commit a8082d14d0
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F

View file

@ -162,7 +162,9 @@ func main() {
}
defer service.Stop()
wd, err := selenium.NewRemote(nil, fmt.Sprintf("http://localhost:%d", geckoDriverPort))
wd, err := selenium.NewRemote(selenium.Capabilities{
"acceptInsecureCerts": true,
}, fmt.Sprintf("http://localhost:%d", geckoDriverPort))
if err != nil {
panic(err)
}