Chrome Flags Reference

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

--source-app-id

What does --source-app-id do?

When rendezvousing with an existing process, used to indicate that the StartupInfoW of the new Chrome process had dwFlags == STARTF_TITLEISAPPID. This is used to record launch metrics.

Usage

CLILaunch Chrome with --source-app-id using CLI

chrome --source-app-id

PuppeteerLaunch Chrome with --source-app-id using Puppeteer

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

PlaywrightLaunch Chrome with --source-app-id using Playwright

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

SeleniumLaunch Chrome with --source-app-id using Selenium

from selenium import webdriver

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

driver = webdriver.Chrome(options=options)

Build Conditions

ANDROID!(CHROMEOS)MACWIN