Chrome Flags Reference

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

--guest

What does --guest do?

Causes the browser to launch directly in guest mode.

Usage

CLILaunch Chrome with --guest using CLI

chrome --guest

PuppeteerLaunch Chrome with --guest using Puppeteer

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

PlaywrightLaunch Chrome with --guest using Playwright

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

SeleniumLaunch Chrome with --guest using Selenium

from selenium import webdriver

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

driver = webdriver.Chrome(options=options)

Build Conditions

ANDROID!(CHROMEOS)MACWINLINUX || IS_CHROMEOS || BUILDFLAG(IS_MAC) || \