Chrome Flags Reference

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

--enable-profile-shortcut-manager

What does --enable-profile-shortcut-manager do?

Force-enables the profile shortcut manager. This is needed for tests since they use a custom-user-data-dir which disables this.

Usage

CLILaunch Chrome with --enable-profile-shortcut-manager using CLI

chrome --enable-profile-shortcut-manager

PuppeteerLaunch Chrome with --enable-profile-shortcut-manager using Puppeteer

const browser = await puppeteer.launch({
  args: ['--enable-profile-shortcut-manager']
});

PlaywrightLaunch Chrome with --enable-profile-shortcut-manager using Playwright

const browser = await chromium.launch({
  args: ['--enable-profile-shortcut-manager']
});

SeleniumLaunch Chrome with --enable-profile-shortcut-manager using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--enable-profile-shortcut-manager')

driver = webdriver.Chrome(options=options)

Build Conditions

ANDROID!(CHROMEOS)MACWIN