Chrome Flags Reference

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

--no-xr-runtime

What does --no-xr-runtime do?

Tell WebXr to assume that it does not support any runtimes.

Usage

CLILaunch Chrome with --no-xr-runtime using CLI

chrome --no-xr-runtime

PuppeteerLaunch Chrome with --no-xr-runtime using Puppeteer

const browser = await puppeteer.launch({
  args: ['--no-xr-runtime']
});

PlaywrightLaunch Chrome with --no-xr-runtime using Playwright

const browser = await chromium.launch({
  args: ['--no-xr-runtime']
});

SeleniumLaunch Chrome with --no-xr-runtime using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--no-xr-runtime')

driver = webdriver.Chrome(options=options)

Build Conditions

LOAD_WEBUI_FROM_DISK