Chrome Flags Reference

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

--no-zygote-sandbox

What does --no-zygote-sandbox do?

Instructs the zygote to launch without a sandbox. Processes forked from this type of zygote will apply their own custom sandboxes later.

Usage

CLILaunch Chrome with --no-zygote-sandbox using CLI

chrome --no-zygote-sandbox

PuppeteerLaunch Chrome with --no-zygote-sandbox using Puppeteer

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

PlaywrightLaunch Chrome with --no-zygote-sandbox using Playwright

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

SeleniumLaunch Chrome with --no-zygote-sandbox using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--no-zygote-sandbox')

driver = webdriver.Chrome(options=options)

Build Conditions

LINUX || IS_CHROMEOS