--force-color-profile
What does --force-color-profile do?
Force all monitors to be treated as though they have the specified color profile. Accepted values are "srgb" and "generic-rgb" (currently used by Mac layout tests) and "color-spin-gamma24" (used by layout tests).
Usage
CLILaunch Chrome with --force-color-profile using CLI
chrome --force-color-profilePuppeteerLaunch Chrome with --force-color-profile using Puppeteer
const browser = await puppeteer.launch({
args: ['--force-color-profile']
});PlaywrightLaunch Chrome with --force-color-profile using Playwright
const browser = await chromium.launch({
args: ['--force-color-profile']
});SeleniumLaunch Chrome with --force-color-profile using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--force-color-profile')
driver = webdriver.Chrome(options=options)