Chrome Flags Reference

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

--profile-email

What does --profile-email do?

Like kProfileDirectory, but selects the profile by email address. If the email is not found in any existing profile, this switch has no effect. If both kProfileDirectory and kProfileEmail are specified, kProfileDirectory takes priority.

Usage

CLILaunch Chrome with --profile-email using CLI

chrome --profile-email

PuppeteerLaunch Chrome with --profile-email using Puppeteer

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

PlaywrightLaunch Chrome with --profile-email using Playwright

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

SeleniumLaunch Chrome with --profile-email using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--profile-email')

driver = webdriver.Chrome(options=options)