Chrome Flags Reference

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

--stub

What does --stub do?

No description available for this flag.

Usage

CLILaunch Chrome with --stub using CLI

chrome --stub

PuppeteerLaunch Chrome with --stub using Puppeteer

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

PlaywrightLaunch Chrome with --stub using Playwright

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

SeleniumLaunch Chrome with --stub using Selenium

from selenium import webdriver

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

driver = webdriver.Chrome(options=options)

Build Conditions

ENABLE_VULKAN && \