Chrome Flags Reference

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

--disable

What does --disable do?

No description available for this flag.

Usage

CLILaunch Chrome with --disable using CLI

chrome --disable

PuppeteerLaunch Chrome with --disable using Puppeteer

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

PlaywrightLaunch Chrome with --disable using Playwright

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

SeleniumLaunch Chrome with --disable using Selenium

from selenium import webdriver

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

driver = webdriver.Chrome(options=options)