Chrome Flags Reference

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

--user-data-migrated

What does --user-data-migrated do?

Indicates that this process is the product of a relaunch following migration of User Data.

Usage

CLILaunch Chrome with --user-data-migrated using CLI

chrome --user-data-migrated

PuppeteerLaunch Chrome with --user-data-migrated using Puppeteer

const browser = await puppeteer.launch({
  args: ['--user-data-migrated']
});

PlaywrightLaunch Chrome with --user-data-migrated using Playwright

const browser = await chromium.launch({
  args: ['--user-data-migrated']
});

SeleniumLaunch Chrome with --user-data-migrated using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--user-data-migrated')

driver = webdriver.Chrome(options=options)

Build Conditions

ANDROID!(CHROMEOS)MACWINENABLE_DOWNGRADE_PROCESSING