Chrome Flags Reference

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

--uninstall

What does --uninstall do?

Runs un-installation steps that were done by chrome first-run.

Usage

CLILaunch Chrome with --uninstall using CLI

chrome --uninstall

PuppeteerLaunch Chrome with --uninstall using Puppeteer

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

PlaywrightLaunch Chrome with --uninstall using Playwright

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

SeleniumLaunch Chrome with --uninstall using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--uninstall')

driver = webdriver.Chrome(options=options)

Build Conditions

ANDROID!(CHROMEOS)MACWIN