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.
1 parent d2a4655 commit 319c368Copy full SHA for 319c368
utils/methods.go
@@ -38,7 +38,7 @@ func GetEnv(name string) (string, error) {
38
func InitChromeDp() (chromedpCtx context.Context, cancelFnc context.CancelFunc) {
39
log.Printf("Initializing chromedp...")
40
if Headless {
41
- chromedpCtx, cancelFnc = chromedp.NewContext(context.Background())
+ chromedpCtx, cancelFnc = chromedp.NewContext(context.Background(), chromedp.WithDebugf(log.Printf))
42
} else {
43
allocCtx, _ := chromedp.NewExecAllocator(context.Background())
44
chromedpCtx, cancelFnc = chromedp.NewContext(allocCtx)
0 commit comments