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.
2 parents 55a5231 + cefce23 commit 0925758Copy full SHA for 0925758
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