Chrome Flags Reference

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

--run-manual

What does --run-manual do?

Manual tests only run when --run-manual is specified. This allows writing tests that don't run automatically but are still in the same test binary. This is useful so that a team that wants to run a few tests doesn't have to add a new binary that must be compiled on all builds.

Usage

CLILaunch Chrome with --run-manual using CLI

chrome --run-manual

PuppeteerLaunch Chrome with --run-manual using Puppeteer

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

PlaywrightLaunch Chrome with --run-manual using Playwright

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

SeleniumLaunch Chrome with --run-manual using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--run-manual')

driver = webdriver.Chrome(options=options)

Build Conditions

LOAD_WEBUI_FROM_DISK