--dump-compositor-frame
What does --dump-compositor-frame do?
Save CompositorFrame data in both renderer and gpu process for TreesInViz and TreeAnimationsInViz. This doesn't work without --no-sandbox. If no parameters are specified, by default, it records frame 1 - 10. If --dump-compositor-frame=begin,end is specified, it records frame [begin, end] inclusive.
Usage
CLILaunch Chrome with --dump-compositor-frame using CLI
chrome --dump-compositor-framePuppeteerLaunch Chrome with --dump-compositor-frame using Puppeteer
const browser = await puppeteer.launch({
args: ['--dump-compositor-frame']
});PlaywrightLaunch Chrome with --dump-compositor-frame using Playwright
const browser = await chromium.launch({
args: ['--dump-compositor-frame']
});SeleniumLaunch Chrome with --dump-compositor-frame using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--dump-compositor-frame')
driver = webdriver.Chrome(options=options)