Chrome Flags Reference

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

--force-raster-color-profile

What does --force-raster-color-profile do?

Force rastering to take place in the specified color profile. Accepted values are the same as for the kForceDisplayColorProfile case above.

Usage

CLILaunch Chrome with --force-raster-color-profile using CLI

chrome --force-raster-color-profile

PuppeteerLaunch Chrome with --force-raster-color-profile using Puppeteer

const browser = await puppeteer.launch({
  args: ['--force-raster-color-profile']
});

PlaywrightLaunch Chrome with --force-raster-color-profile using Playwright

const browser = await chromium.launch({
  args: ['--force-raster-color-profile']
});

SeleniumLaunch Chrome with --force-raster-color-profile using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--force-raster-color-profile')

driver = webdriver.Chrome(options=options)