Chrome Flags Reference

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

--notification-launch-id

What does --notification-launch-id do?

Used for launching Chrome when a toast displayed in the Windows Action Center has been activated. Should contain the launch ID encoded by Chrome.

Usage

CLILaunch Chrome with --notification-launch-id using CLI

chrome --notification-launch-id

PuppeteerLaunch Chrome with --notification-launch-id using Puppeteer

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

PlaywrightLaunch Chrome with --notification-launch-id using Playwright

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

SeleniumLaunch Chrome with --notification-launch-id using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--notification-launch-id')

driver = webdriver.Chrome(options=options)

Build Conditions

ANDROID!(CHROMEOS)MACWIN