Chrome Flags Reference

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

--animation-duration-scale

What does --animation-duration-scale do?

Scale factor to apply to every animation duration. Must be >= 0.0. This will only apply to LinearAnimation and its subclasses.

Usage

CLILaunch Chrome with --animation-duration-scale using CLI

chrome --animation-duration-scale

PuppeteerLaunch Chrome with --animation-duration-scale using Puppeteer

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

PlaywrightLaunch Chrome with --animation-duration-scale using Playwright

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

SeleniumLaunch Chrome with --animation-duration-scale using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--animation-duration-scale')

driver = webdriver.Chrome(options=options)