--force-variation-ids
What does --force-variation-ids do?
Forces additional Chrome Variation Ids that will be sent in X-Client-Data header, specified as a 64-bit encoded list of numeric experiment ids. Ids prefixed with the character "t" will be treated as Trigger Variation Ids. IMPORTANT: You can use this switch for test purposes (e.g. a manual command line run or from a unit test), but NOT for production code in the browser, as the latter is not allowed for privacy reasons (except for the current use by about:flags code).
Usage
CLILaunch Chrome with --force-variation-ids using CLI
chrome --force-variation-idsPuppeteerLaunch Chrome with --force-variation-ids using Puppeteer
const browser = await puppeteer.launch({
args: ['--force-variation-ids']
});PlaywrightLaunch Chrome with --force-variation-ids using Playwright
const browser = await chromium.launch({
args: ['--force-variation-ids']
});SeleniumLaunch Chrome with --force-variation-ids using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--force-variation-ids')
driver = webdriver.Chrome(options=options)