From 8861516bbfbfd2f5541d3dce18eecc5a5614ebcd Mon Sep 17 00:00:00 2001 From: Pavel Date: Tue, 19 Nov 2024 10:15:25 +0400 Subject: [PATCH] feat: add default args to chrome --- .../dedicated/chrome/build-chrome-args.js | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/browser/provider/built-in/dedicated/chrome/build-chrome-args.js b/src/browser/provider/built-in/dedicated/chrome/build-chrome-args.js index 48d03950bb..0630adbcea 100644 --- a/src/browser/provider/built-in/dedicated/chrome/build-chrome-args.js +++ b/src/browser/provider/built-in/dedicated/chrome/build-chrome-args.js @@ -5,6 +5,29 @@ export function buildChromeArgs ({ config, cdpPort, platformArgs, tempProfileDir const defaultArgs = [ '--disable-search-engine-choice-screen', '--disable-component-extensions-with-background-pages', + '--allow-pre-commit-input', + '--disable-background-networking', + '--disable-background-timer-throttling', + '--disable-backgrounding-occluded-windows', + '--disable-breakpad', + '--disable-client-side-phishing-detection', + '--disable-default-apps', + '--disable-extensions', + '--disable-hang-monitor', + '--disable-infobars', + '--disable-ipc-flooding-protection', + '--disable-popup-blocking', + '--disable-prompt-on-repost', + '--disable-renderer-backgrounding', + '--disable-sync', + '--enable-automation', + '--export-tagged-pdf', + '--generate-pdf-document-outline', + '--force-color-profile=srgb', + '--metrics-recording-only', + '--no-first-run', + '--password-store=basic', + '--use-mock-keychain', ]; let chromeArgs = []