Chrome Flags Reference

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

--type

What does --type do?

The value of this switch determines whether the process is started as a renderer or plugin host. If it's empty, it's the browser.

Usage

CLILaunch Chrome with --type using CLI

chrome --type

PuppeteerLaunch Chrome with --type using Puppeteer

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

PlaywrightLaunch Chrome with --type using Playwright

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

SeleniumLaunch Chrome with --type using Selenium

from selenium import webdriver

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

driver = webdriver.Chrome(options=options)

Build Conditions

LOAD_WEBUI_FROM_DISK