Chrome Flags Reference

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

--enable-extension-ai-data-collection

What does --enable-extension-ai-data-collection do?

Name of the command line flag to allow the ai data collection extension API.

Usage

CLILaunch Chrome with --enable-extension-ai-data-collection using CLI

chrome --enable-extension-ai-data-collection

PuppeteerLaunch Chrome with --enable-extension-ai-data-collection using Puppeteer

const browser = await puppeteer.launch({
  args: ['--enable-extension-ai-data-collection']
});

PlaywrightLaunch Chrome with --enable-extension-ai-data-collection using Playwright

const browser = await chromium.launch({
  args: ['--enable-extension-ai-data-collection']
});

SeleniumLaunch Chrome with --enable-extension-ai-data-collection using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--enable-extension-ai-data-collection')

driver = webdriver.Chrome(options=options)