Chrome Flags Reference

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

--utility-cmd-prefix

What does --utility-cmd-prefix do?

The contents of this flag are prepended to the utility process command line. Useful values might be "valgrind" or "xterm -e gdb --args".

Usage

CLILaunch Chrome with --utility-cmd-prefix using CLI

chrome --utility-cmd-prefix

PuppeteerLaunch Chrome with --utility-cmd-prefix using Puppeteer

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

PlaywrightLaunch Chrome with --utility-cmd-prefix using Playwright

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

SeleniumLaunch Chrome with --utility-cmd-prefix using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--utility-cmd-prefix')

driver = webdriver.Chrome(options=options)

Build Conditions

LOAD_WEBUI_FROM_DISK