--profile-base-name
What does --profile-base-name do?
Pass the basename of the profile directory to specify which profile to get information. Only relevant when used with --list-apps switch.
Usage
CLILaunch Chrome with --profile-base-name using CLI
chrome --profile-base-namePuppeteerLaunch Chrome with --profile-base-name using Puppeteer
const browser = await puppeteer.launch({
args: ['--profile-base-name']
});PlaywrightLaunch Chrome with --profile-base-name using Playwright
const browser = await chromium.launch({
args: ['--profile-base-name']
});SeleniumLaunch Chrome with --profile-base-name using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--profile-base-name')
driver = webdriver.Chrome(options=options)Build Conditions
ANDROID!(CHROMEOS)MACWINLINUX || IS_MAC || BUILDFLAG(IS_WIN)