--enable-benchmarking-api
What does --enable-benchmarking-api do?
Enables the benchmarking JavaScript API.
Usage
CLILaunch Chrome with --enable-benchmarking-api using CLI
chrome --enable-benchmarking-apiPuppeteerLaunch Chrome with --enable-benchmarking-api using Puppeteer
const browser = await puppeteer.launch({
args: ['--enable-benchmarking-api']
});PlaywrightLaunch Chrome with --enable-benchmarking-api using Playwright
const browser = await chromium.launch({
args: ['--enable-benchmarking-api']
});SeleniumLaunch Chrome with --enable-benchmarking-api using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--enable-benchmarking-api')
driver = webdriver.Chrome(options=options)