diff --git a/src/utility.ts b/src/utility.ts index f603dc1b..7ec7dbad 100644 --- a/src/utility.ts +++ b/src/utility.ts @@ -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", ]; }