--window-name
What does --window-name do?
Specify the initial window user title: --window-name="My custom title"
Usage
CLILaunch Chrome with --window-name using CLI
chrome --window-namePuppeteerLaunch Chrome with --window-name using Puppeteer
const browser = await puppeteer.launch({
args: ['--window-name']
});PlaywrightLaunch Chrome with --window-name using Playwright
const browser = await chromium.launch({
args: ['--window-name']
});SeleniumLaunch Chrome with --window-name using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--window-name')
driver = webdriver.Chrome(options=options)