TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

2 pointsby jordigh9 months ago
Some people have made an effort to document many of Chrome&#x27;s CLI options, but officially all of this is unstable and liable to break without warning.<p>https:&#x2F;&#x2F;peter.sh&#x2F;experiments&#x2F;chromium-command-line-switches&#x2F;<p>So what is the intended use of these options? Are they only for Chrome&#x27;s developers?

1 comment

steven_noble9 months ago
The main reason I know for using those switches is when running Chrome headlessly for automated browser tests. I&#x27;m sure they have other uses I haven&#x27;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.
评论 #41250669 未加载