Chrome Flags Reference

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

--enabled

What does --enabled do?

enabled: touch events always enabled.

Usage

CLILaunch Chrome with --enabled using CLI

chrome --enabled

PuppeteerLaunch Chrome with --enabled using Puppeteer

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

PlaywrightLaunch Chrome with --enabled using Playwright

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

SeleniumLaunch Chrome with --enabled using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--enabled')

driver = webdriver.Chrome(options=options)

Build Conditions

LOAD_WEBUI_FROM_DISK