--show-screenspace-rects
What does --show-screenspace-rects do?
Show rects in the HUD around the screen-space transformed bounds of every layer.
Usage
CLILaunch Chrome with --show-screenspace-rects using CLI
chrome --show-screenspace-rectsPuppeteerLaunch Chrome with --show-screenspace-rects using Puppeteer
const browser = await puppeteer.launch({
args: ['--show-screenspace-rects']
});PlaywrightLaunch Chrome with --show-screenspace-rects using Playwright
const browser = await chromium.launch({
args: ['--show-screenspace-rects']
});SeleniumLaunch Chrome with --show-screenspace-rects using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--show-screenspace-rects')
driver = webdriver.Chrome(options=options)