Full list of Chromium Puppeteer flags and command line switches

After quite a bit of research, I found the full list of Chromium Command Line Switches.

chromium-flags.png

Here you can find more information about flags.

mega-scraper sane defaults

mega-scraper has a mature and battle-tested list of default flags, check it out here in the file get-puppeteer-options:

  ...
  const args = [
    '--no-sandbox',
    '--disable-setuid-sandbox',
    '--disable-infobars',
    '--single-process',
    '--no-zygote',
    '--no-first-run',
    `--window-size=${options.width || 1280},${options.height || 800}`,
    '--window-position=0,0',
    '--ignore-certificate-errors',
    '--ignore-certificate-errors-skip-list',
    '--disable-dev-shm-usage',
    '--disable-accelerated-2d-canvas',
    '--disable-gpu',
    '--hide-scrollbars',
    '--disable-notifications',
    '--disable-background-timer-throttling',
    '--disable-backgrounding-occluded-windows',
    '--disable-breakpad',
    '--disable-component-extensions-with-background-pages',
    '--disable-extensions',
    '--disable-features=TranslateUI,BlinkGenPropertyTrees',
    '--disable-ipc-flooding-protection',
    '--disable-renderer-backgrounding',
    '--enable-features=NetworkService,NetworkServiceInProcess',
    '--force-color-profile=srgb',
    '--metrics-recording-only',
    '--mute-audio'
  ]
  ...

Additionally, if you want to see what is enabled/disabled, you can navigate to chrome://flags and see the full list:

chrome-flags.png

Here, have a slice of pizza 🍕