Skip to content

Commit

Permalink
chore: Disable settings for headless (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebebbington authored May 2, 2022
1 parent 1989709 commit bacfd86
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/utility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,29 @@ export function getChromeArgs(port: number, binaryPath?: string): string[] {
"--disable-gpu",
"--headless",
"--no-sandbox",
"--disable-background-networking",
"--enable-features=NetworkService,NetworkServiceInProcess",
"--disable-background-timer-throttling",
"--disable-backgrounding-occluded-windows",
"--disable-breakpad",
"--disable-client-side-phishing-detection",
"--disable-component-extensions-with-background-pages",
"--disable-default-apps",
"--disable-dev-shm-usage",
"--disable-extensions",
"--disable-features=TranslateUI",
"--disable-hang-monitor",
"--disable-ipc-flooding-protection",
"--disable-popup-blocking",
"--disable-prompt-on-repost",
"--disable-renderer-backgrounding",
"--disable-sync",
"--force-color-profile=srgb",
"--metrics-recording-only",
"--no-first-run",
"--enable-automation",
"--password-store=basic",
"--use-mock-keychain",
"about:blank",
];
}
Expand Down

0 comments on commit bacfd86

Please sign in to comment.