Chrome Flags Reference

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

--zygote-cmd-prefix

What does --zygote-cmd-prefix do?

The prefix used when starting the zygote process. (i.e. 'gdb --args')

Usage

CLILaunch Chrome with --zygote-cmd-prefix using CLI

chrome --zygote-cmd-prefix

PuppeteerLaunch Chrome with --zygote-cmd-prefix using Puppeteer

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

PlaywrightLaunch Chrome with --zygote-cmd-prefix using Playwright

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

SeleniumLaunch Chrome with --zygote-cmd-prefix using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--zygote-cmd-prefix')

driver = webdriver.Chrome(options=options)

Build Conditions

LOAD_WEBUI_FROM_DISK