--diagnostics-format
What does --diagnostics-format do?
Sets the output format for diagnostic modes enabled by diagnostics flag.
Usage
CLILaunch Chrome with --diagnostics-format using CLI
chrome --diagnostics-formatPuppeteerLaunch Chrome with --diagnostics-format using Puppeteer
const browser = await puppeteer.launch({
args: ['--diagnostics-format']
});PlaywrightLaunch Chrome with --diagnostics-format using Playwright
const browser = await chromium.launch({
args: ['--diagnostics-format']
});SeleniumLaunch Chrome with --diagnostics-format using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--diagnostics-format')
driver = webdriver.Chrome(options=options)