Skip to content

Commit

Permalink
Update chrome params
Browse files Browse the repository at this point in the history
  • Loading branch information
montehurd committed Aug 9, 2024
1 parent f331776 commit 0462057
Showing 1 changed file with 28 additions and 5 deletions.
33 changes: 28 additions & 5 deletions config/configCommon.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,34 @@ const config = {
engineOptions: {
headless: true,
args: [
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-dev-shm-usage',
'--disable-gpu',
'--disable-gpu-sandbox'
'--no-sandbox', // Disable the sandbox for all processes
'--disable-setuid-sandbox', // Disable the setuid sandbox
'--disable-dev-shm-usage', // Use /tmp instead of /dev/shm
'--disable-gpu', // Disable GPU hardware acceleration
'--disable-gpu-sandbox', // Disable the GPU sandbox
'--disk-cache-dir=/dev/null', // Disable disk cache
'--disable-background-networking', // Disable background networking
'--disable-background-timer-throttling',// Disable background timer throttling
'--disable-backgrounding-occluded-windows', // Disable backgrounding of occluded windows
'--disable-client-side-phishing-detection', // Disable client-side phishing detection
'--disable-default-apps', // Disable Chrome's default apps
'--disable-hang-monitor', // Disable the hang monitor
'--disable-popup-blocking', // Disable popup blocking
'--disable-prompt-on-repost', // Disable prompt on repost
'--disable-sync', // Disable synchronization services
'--disable-translate', // Disable Chrome translation features
'--metrics-recording-only', // Only record metrics, don't send them
'--no-first-run', // Skip the first run tasks
'--safebrowsing-disable-auto-update', // Disable Safe Browsing auto-update
'--no-zygote', // Disable the Zygote process
'--disable-crash-reporter', // Disable crash reporting
'--disable-metrics', // Disable metrics collection
'--disable-metrics-reporter', // Disable metrics reporting
'--disable-software-rasterizer', // Disable software rasterizer
'--mute-audio', // Mute audio
'--disable-infobars', // Disable infobars
'--disable-notifications', // Disable notifications
'--disable-desktop-notifications' // Disable desktop notifications
]
},
debug: false,
Expand Down

0 comments on commit 0462057

Please sign in to comment.