Skip to content

Commit 8ed88d8

Browse files
authored
Merge pull request #5 from gleicon/chrome-tune
chrome startup options
2 parents 828d6f5 + d492ba3 commit 8ed88d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

client.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ func (bc *BrowserClient) Init() error {
7171
opts := append(chromedp.DefaultExecAllocatorOptions[:],
7272
chromedp.Flag("headless", true),
7373
chromedp.Flag("disable-gpu", true),
74+
chromedp.Flag("enable-automation", true),
75+
chromedp.Flag("disable-dev-shm-usage", true),
76+
chromedp.Flag("disable-background-timer-throttling", false),
77+
7478
)
7579

7680
if os.Getenv("CHROME_FLAGS") == "--no-sandbox" {

0 commit comments

Comments
 (0)