Chrome Flags Reference

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

--add-xr-appcontainer-caps

What does --add-xr-appcontainer-caps do?

Add additional capabilities to the AppContainer sandbox used for XR compositing.

Usage

CLILaunch Chrome with --add-xr-appcontainer-caps using CLI

chrome --add-xr-appcontainer-caps

PuppeteerLaunch Chrome with --add-xr-appcontainer-caps using Puppeteer

const browser = await puppeteer.launch({
  args: ['--add-xr-appcontainer-caps']
});

PlaywrightLaunch Chrome with --add-xr-appcontainer-caps using Playwright

const browser = await chromium.launch({
  args: ['--add-xr-appcontainer-caps']
});

SeleniumLaunch Chrome with --add-xr-appcontainer-caps using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--add-xr-appcontainer-caps')

driver = webdriver.Chrome(options=options)

Build Conditions

WIN