We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ignore-certificate-errors
1 parent 55a5231 commit cefce23Copy full SHA for cefce23
main.go
@@ -87,7 +87,13 @@ func main() {
87
return
88
}
89
90
- pctx, pcancel := chromedp.NewContext(context.Background())
+ copts := append(chromedp.DefaultExecAllocatorOptions[:],
91
+ chromedp.Flag("ignore-certificate-errors", true),
92
+ )
93
+ ectx, ecancel := chromedp.NewExecAllocator(context.Background(), copts...)
94
+ defer ecancel()
95
+
96
+ pctx, pcancel := chromedp.NewContext(ectx)
97
defer pcancel()
98
99
// start the browser to ensure we end up making new tabs in an
0 commit comments