Chrome Flags Reference

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

--disable-webrtc-encryption

What does --disable-webrtc-encryption do?

Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it ignores this switch on its stable and beta channels.

Usage

CLILaunch Chrome with --disable-webrtc-encryption using CLI

chrome --disable-webrtc-encryption

PuppeteerLaunch Chrome with --disable-webrtc-encryption using Puppeteer

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

PlaywrightLaunch Chrome with --disable-webrtc-encryption using Playwright

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

SeleniumLaunch Chrome with --disable-webrtc-encryption using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--disable-webrtc-encryption')

driver = webdriver.Chrome(options=options)

Build Conditions

LOAD_WEBUI_FROM_DISK