Chrome Flags Reference

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

--display-properties

What does --display-properties do?

Additional display properties are provided through this switch that are beyond what is available via EDID encoded as JSON. Please see `https://chromium.googlesource.com/chromiumos/platform2/+/dd10a5ae3618bb9dc5fb47ac415ebef6e9a3827d/chromeos-config/README.md#displays` for the data format.

Usage

CLILaunch Chrome with --display-properties using CLI

chrome --display-properties

PuppeteerLaunch Chrome with --display-properties using Puppeteer

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

PlaywrightLaunch Chrome with --display-properties using Playwright

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

SeleniumLaunch Chrome with --display-properties using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--display-properties')

driver = webdriver.Chrome(options=options)

Build Conditions

CHROMEOS