Chrome Flags Reference

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

--variations-override-country

What does --variations-override-country do?

Allows overriding the country used for evaluating variations. This is similar to the "Override Variations Country" entry on chrome://translate-internals, but is exposed as a command-line flag to allow testing First Run scenarios. Additionally, unlike chrome://translate-internals, the value isn't persisted across sessions.

Usage

CLILaunch Chrome with --variations-override-country using CLI

chrome --variations-override-country

PuppeteerLaunch Chrome with --variations-override-country using Puppeteer

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

PlaywrightLaunch Chrome with --variations-override-country using Playwright

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

SeleniumLaunch Chrome with --variations-override-country using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--variations-override-country')

driver = webdriver.Chrome(options=options)