Chrome Flags Reference

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

--enable-benchmarking

What does --enable-benchmarking do?

See flag_descriptions.cc for more details.

Usage

CLILaunch Chrome with --enable-benchmarking using CLI

chrome --enable-benchmarking

PuppeteerLaunch Chrome with --enable-benchmarking using Puppeteer

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

PlaywrightLaunch Chrome with --enable-benchmarking using Playwright

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

SeleniumLaunch Chrome with --enable-benchmarking using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--enable-benchmarking')

driver = webdriver.Chrome(options=options)