Chrome Flags Reference

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

--pre-crashpad-crash-test

What does --pre-crashpad-crash-test do?

Causes the browser process to crash very early in startup, just before crashpad (or breakpad) is initialized.

Usage

CLILaunch Chrome with --pre-crashpad-crash-test using CLI

chrome --pre-crashpad-crash-test

PuppeteerLaunch Chrome with --pre-crashpad-crash-test using Puppeteer

const browser = await puppeteer.launch({
  args: ['--pre-crashpad-crash-test']
});

PlaywrightLaunch Chrome with --pre-crashpad-crash-test using Playwright

const browser = await chromium.launch({
  args: ['--pre-crashpad-crash-test']
});

SeleniumLaunch Chrome with --pre-crashpad-crash-test using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--pre-crashpad-crash-test')

driver = webdriver.Chrome(options=options)