Chrome Flags Reference

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

--ui-show-screenspace-rects

What does --ui-show-screenspace-rects do?

No description available for this flag.

Usage

CLILaunch Chrome with --ui-show-screenspace-rects using CLI

chrome --ui-show-screenspace-rects

PuppeteerLaunch Chrome with --ui-show-screenspace-rects using Puppeteer

const browser = await puppeteer.launch({
  args: ['--ui-show-screenspace-rects']
});

PlaywrightLaunch Chrome with --ui-show-screenspace-rects using Playwright

const browser = await chromium.launch({
  args: ['--ui-show-screenspace-rects']
});

SeleniumLaunch Chrome with --ui-show-screenspace-rects using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--ui-show-screenspace-rects')

driver = webdriver.Chrome(options=options)