Chrome Flags Reference

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

--try-supported-channel-layouts

What does --try-supported-channel-layouts do?

Instead of always using the hardware channel layout, check if a driver supports the source channel layout. Avoids outputting empty channels and permits drivers to enable stereo to multichannel expansion. Kept behind a flag since some drivers lie about supported layouts and hang when used. See http://crbug.com/259165 for more details.

Usage

CLILaunch Chrome with --try-supported-channel-layouts using CLI

chrome --try-supported-channel-layouts

PuppeteerLaunch Chrome with --try-supported-channel-layouts using Puppeteer

const browser = await puppeteer.launch({
  args: ['--try-supported-channel-layouts']
});

PlaywrightLaunch Chrome with --try-supported-channel-layouts using Playwright

const browser = await chromium.launch({
  args: ['--try-supported-channel-layouts']
});

SeleniumLaunch Chrome with --try-supported-channel-layouts using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--try-supported-channel-layouts')

driver = webdriver.Chrome(options=options)

Build Conditions

ENABLE_PASSTHROUGH_AUDIO_CODECSCHROMEOSFUCHSIALINUX || IS_CHROMEOS || BUILDFLAG(IS_FREEBSD) || \WIN