Don't validate SSL certificates
This commit is contained in:
parent
c9f0315db5
commit
a8082d14d0
4
main.go
4
main.go
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue