Chrome Flags Reference

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

--custom-devtools-frontend

What does --custom-devtools-frontend do?

Specifies the http:// endpoint which will be used to serve devtools://devtools/custom/<path> Or a file:// URL to specify a custom file path to load from for devtools://devtools/bundled/<path>

Usage

CLILaunch Chrome with --custom-devtools-frontend using CLI

chrome --custom-devtools-frontend

PuppeteerLaunch Chrome with --custom-devtools-frontend using Puppeteer

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

PlaywrightLaunch Chrome with --custom-devtools-frontend using Playwright

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

SeleniumLaunch Chrome with --custom-devtools-frontend using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--custom-devtools-frontend')

driver = webdriver.Chrome(options=options)