Chrome Flags Reference

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

--from-browser-switcher

What does --from-browser-switcher do?

Indicates that this launch of the browser originated from the Legacy Browser Support for Edge extension's native host. This is recorded in UMA.

Usage

CLILaunch Chrome with --from-browser-switcher using CLI

chrome --from-browser-switcher

PuppeteerLaunch Chrome with --from-browser-switcher using Puppeteer

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

PlaywrightLaunch Chrome with --from-browser-switcher using Playwright

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

SeleniumLaunch Chrome with --from-browser-switcher using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--from-browser-switcher')

driver = webdriver.Chrome(options=options)

Build Conditions

ANDROID!(CHROMEOS)MACWIN