Chrome Flags Reference

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

--alsa-input-device

What does --alsa-input-device do?

The Alsa device to use when opening an audio input stream.

Usage

CLILaunch Chrome with --alsa-input-device using CLI

chrome --alsa-input-device

PuppeteerLaunch Chrome with --alsa-input-device using Puppeteer

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

PlaywrightLaunch Chrome with --alsa-input-device using Playwright

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

SeleniumLaunch Chrome with --alsa-input-device using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--alsa-input-device')

driver = webdriver.Chrome(options=options)

Build Conditions

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