Chrome Flags Reference

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

--renderpass

What does --renderpass do?

Parameters for kUIShowCompositedLayerBorders.

Usage

CLILaunch Chrome with --renderpass using CLI

chrome --renderpass

PuppeteerLaunch Chrome with --renderpass using Puppeteer

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

PlaywrightLaunch Chrome with --renderpass using Playwright

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

SeleniumLaunch Chrome with --renderpass using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--renderpass')

driver = webdriver.Chrome(options=options)