Chrome Flags Reference

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

--nv12

What does --nv12 do?

Swap chain formats for direct composition SDR video overlays.

Usage

CLILaunch Chrome with --nv12 using CLI

chrome --nv12

PuppeteerLaunch Chrome with --nv12 using Puppeteer

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

PlaywrightLaunch Chrome with --nv12 using Playwright

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

SeleniumLaunch Chrome with --nv12 using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--nv12')

driver = webdriver.Chrome(options=options)

Build Conditions

ENABLE_VULKAN && \