Chrome Flags Reference

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

--renderer-startup-dialog

What does --renderer-startup-dialog do?

Causes the renderer process to display a dialog on launch. Passing this flag also adds sandbox::policy::kNoSandbox on Windows non-official builds, since that's needed to show a dialog.

Usage

CLILaunch Chrome with --renderer-startup-dialog using CLI

chrome --renderer-startup-dialog

PuppeteerLaunch Chrome with --renderer-startup-dialog using Puppeteer

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

PlaywrightLaunch Chrome with --renderer-startup-dialog using Playwright

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

SeleniumLaunch Chrome with --renderer-startup-dialog using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--renderer-startup-dialog')

driver = webdriver.Chrome(options=options)

Build Conditions

LOAD_WEBUI_FROM_DISK