Chrome Flags Reference

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

--version

What does --version do?

Prints version information and quits.

Usage

CLILaunch Chrome with --version using CLI

chrome --version

PuppeteerLaunch Chrome with --version using Puppeteer

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

PlaywrightLaunch Chrome with --version using Playwright

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

SeleniumLaunch Chrome with --version using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--version')

driver = webdriver.Chrome(options=options)