From a8082d14d059054d6fdce5587f674ee420ebb572 Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Sat, 2 Apr 2022 00:25:20 -0500 Subject: [PATCH] Don't validate SSL certificates --- main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 51a3e2e..c543252 100644 --- a/main.go +++ b/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) }