Chrome Flags Reference

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

--show-layer-animation-bounds

What does --show-layer-animation-bounds do?

Renders a border that represents the bounding box for the layer's animation.

Usage

CLILaunch Chrome with --show-layer-animation-bounds using CLI

chrome --show-layer-animation-bounds

PuppeteerLaunch Chrome with --show-layer-animation-bounds using Puppeteer

const browser = await puppeteer.launch({
  args: ['--show-layer-animation-bounds']
});

PlaywrightLaunch Chrome with --show-layer-animation-bounds using Playwright

const browser = await chromium.launch({
  args: ['--show-layer-animation-bounds']
});

SeleniumLaunch Chrome with --show-layer-animation-bounds using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--show-layer-animation-bounds')

driver = webdriver.Chrome(options=options)