Chrome Flags Reference

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

--app-id

What does --app-id do?

Specifies that the extension-app with the specified id should be launched according to its configuration.

Usage

CLILaunch Chrome with --app-id using CLI

chrome --app-id

PuppeteerLaunch Chrome with --app-id using Puppeteer

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

PlaywrightLaunch Chrome with --app-id using Playwright

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

SeleniumLaunch Chrome with --app-id using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--app-id')

driver = webdriver.Chrome(options=options)