HACKER Q&A
📣 jordigh

Chrome's CLI is undocumented and unstable. Why have it? Whom is it for?


Some people have made an effort to document many of Chrome's CLI options, but officially all of this is unstable and liable to break without warning.

https://peter.sh/experiments/chromium-command-line-switches/

So what is the intended use of these options? Are they only for Chrome's developers?


  👤 steven_noble Accepted Answer ✓
The main reason I know for using those switches is when running Chrome headlessly for automated browser tests. I'm sure they have other uses I haven't come across. The fact that the flags are specific to the version of Chrome you are running is not a big deal when you typically specify the version in your test harness anyway.