| skipped 31 lines |
32 | 32 | | ) |
33 | 33 | | |
34 | 34 | | allocCtx, bcancel := chromedp.NewExecAllocator(context.Background(), opts...) |
35 | | - | allocCtx, bcancel = context.WithTimeout(allocCtx, 10*time.Second) |
36 | 35 | | defer bcancel() |
37 | 36 | | |
38 | 37 | | ctx, cancel := chromedp.NewContext(allocCtx, chromedp.WithLogf(log.Printf)) |
| skipped 149 lines |