Skip to content

Commit

Permalink
feat: add default args to chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelMor25 committed Nov 19, 2024
1 parent 3dbb90b commit 8861516
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 8861516

Please sign in to comment.