Chrome Flags Reference

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

--check-damage-early

What does --check-damage-early do?

Checks damage early and aborts the frame if no damage, so that clients like Android WebView don't invalidate unnecessarily.

Usage

CLILaunch Chrome with --check-damage-early using CLI

chrome --check-damage-early

PuppeteerLaunch Chrome with --check-damage-early using Puppeteer

const browser = await puppeteer.launch({
  args: ['--check-damage-early']
});

PlaywrightLaunch Chrome with --check-damage-early using Playwright

const browser = await chromium.launch({
  args: ['--check-damage-early']
});

SeleniumLaunch Chrome with --check-damage-early using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--check-damage-early')

driver = webdriver.Chrome(options=options)