Chrome Flags Reference

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

--use-cmd-decoder

What does --use-cmd-decoder do?

Use the Pass-through command decoder, skipping all validation and state tracking. Switch lives in ui/gl because it affects the GL binding initialization on platforms that would otherwise not default to using EGL bindings.

Usage

CLILaunch Chrome with --use-cmd-decoder using CLI

chrome --use-cmd-decoder

PuppeteerLaunch Chrome with --use-cmd-decoder using Puppeteer

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

PlaywrightLaunch Chrome with --use-cmd-decoder using Playwright

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

SeleniumLaunch Chrome with --use-cmd-decoder using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--use-cmd-decoder')

driver = webdriver.Chrome(options=options)

Build Conditions

ENABLE_VULKAN && \