Chrome Flags Reference

Chrome command line switches and startup flags for automation, headless mode, and debugging.

--hide-icons

What does --hide-icons do?

Makes Windows happy by allowing it to show "Enable access to this program" checkbox in Add/Remove Programs->Set Program Access and Defaults. This only shows an error box because the only way to hide Chrome is by uninstalling it.

Usage

CLILaunch Chrome with --hide-icons using CLI

chrome --hide-icons

PuppeteerLaunch Chrome with --hide-icons using Puppeteer

const browser = await puppeteer.launch({
  args: ['--hide-icons']
});

PlaywrightLaunch Chrome with --hide-icons using Playwright

const browser = await chromium.launch({
  args: ['--hide-icons']
});

SeleniumLaunch Chrome with --hide-icons using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--hide-icons')

driver = webdriver.Chrome(options=options)

Build Conditions

ANDROID!(CHROMEOS)MACWIN