Chrome Flags Reference

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

--allow-ra-in-dev-mode

What does --allow-ra-in-dev-mode do?

Allows remote attestation (RA) in dev mode for testing purpose. Usually RA is disabled in dev mode because it will always fail. However, there are cases in testing where we do want to go through the permission flow even in dev mode. This can be enabled by this flag.

Usage

CLILaunch Chrome with --allow-ra-in-dev-mode using CLI

chrome --allow-ra-in-dev-mode

PuppeteerLaunch Chrome with --allow-ra-in-dev-mode using Puppeteer

const browser = await puppeteer.launch({
  args: ['--allow-ra-in-dev-mode']
});

PlaywrightLaunch Chrome with --allow-ra-in-dev-mode using Playwright

const browser = await chromium.launch({
  args: ['--allow-ra-in-dev-mode']
});

SeleniumLaunch Chrome with --allow-ra-in-dev-mode using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--allow-ra-in-dev-mode')

driver = webdriver.Chrome(options=options)

Build Conditions

ENABLE_PASSTHROUGH_AUDIO_CODECSCHROMEOS