Skip to content

Chrome launch arguments

berstend̡̲̫̹̠̖͚͓̔̄̓̐̄͛̀͘ edited this page Apr 21, 2021 · 9 revisions

Overview

Chrome supports a variety of launch arguments/flags/switches, here are a few references:

Tips

Review

  • Navigate to chrome://version to see the effective launch arguments of the current Chrome browser

Improving larger scale automation

  • --no-zygote: was a actually a solution to the zombie processes spawning in my puppeteer-cluster
  • --no-xshm: I had similar issues (running multiple concurrent Chrome in the same container) in the past that were resolved with this

Other

  • --window-position: Hide while still being headful, useful when you can't use Xvfb.--window-position=-10000,10000