Chrome Flags Reference

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

--ozone-dump-file

What does --ozone-dump-file do?

Specify location for image dumps.

Usage

CLILaunch Chrome with --ozone-dump-file using CLI

chrome --ozone-dump-file

PuppeteerLaunch Chrome with --ozone-dump-file using Puppeteer

const browser = await puppeteer.launch({
  args: ['--ozone-dump-file']
});

PlaywrightLaunch Chrome with --ozone-dump-file using Playwright

const browser = await chromium.launch({
  args: ['--ozone-dump-file']
});

SeleniumLaunch Chrome with --ozone-dump-file using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--ozone-dump-file')

driver = webdriver.Chrome(options=options)