Chrome Flags Reference

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

--app-shim

What does --app-shim do?

A process type (switches::kProcessType) that is used by App Shim processes. See chrome/app_shim/app_shim_main_delegate.mm.

Usage

CLILaunch Chrome with --app-shim using CLI

chrome --app-shim

PuppeteerLaunch Chrome with --app-shim using Puppeteer

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

PlaywrightLaunch Chrome with --app-shim using Playwright

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

SeleniumLaunch Chrome with --app-shim using Selenium

from selenium import webdriver

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

driver = webdriver.Chrome(options=options)