Chrome Flags Reference

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

--glic-webui-allowed-origins

What does --glic-webui-allowed-origins do?

List of allowed origins in the glic webview, as a space-separated list.

Usage

CLILaunch Chrome with --glic-webui-allowed-origins using CLI

chrome --glic-webui-allowed-origins

PuppeteerLaunch Chrome with --glic-webui-allowed-origins using Puppeteer

const browser = await puppeteer.launch({
  args: ['--glic-webui-allowed-origins']
});

PlaywrightLaunch Chrome with --glic-webui-allowed-origins using Playwright

const browser = await chromium.launch({
  args: ['--glic-webui-allowed-origins']
});

SeleniumLaunch Chrome with --glic-webui-allowed-origins using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--glic-webui-allowed-origins')

driver = webdriver.Chrome(options=options)

Build Conditions

ANDROID!(CHROMEOS)MACWINENABLE_GLIC