Chrome Flags Reference

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

--import-passwords

What does --import-passwords do?

Triggers the import of passwords on startup.

Usage

CLILaunch Chrome with --import-passwords using CLI

chrome --import-passwords

PuppeteerLaunch Chrome with --import-passwords using Puppeteer

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

PlaywrightLaunch Chrome with --import-passwords using Playwright

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

SeleniumLaunch Chrome with --import-passwords using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--import-passwords')

driver = webdriver.Chrome(options=options)

Build Conditions

!ANDROID