Chrome Flags Reference

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

--glic-automation

What does --glic-automation do?

Automation is intended to be passed in addition to glic-dev. It further disables functionality to make basic testing easier.

Usage

CLILaunch Chrome with --glic-automation using CLI

chrome --glic-automation

PuppeteerLaunch Chrome with --glic-automation using Puppeteer

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

PlaywrightLaunch Chrome with --glic-automation using Playwright

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

SeleniumLaunch Chrome with --glic-automation using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--glic-automation')

driver = webdriver.Chrome(options=options)

Build Conditions

ANDROID!(CHROMEOS)MACWINENABLE_GLIC