--force-prefers-reduced-motion
What does --force-prefers-reduced-motion do?
Forces whether the user desires reduced motion, regardless of system settings.
Usage
CLILaunch Chrome with --force-prefers-reduced-motion using CLI
chrome --force-prefers-reduced-motionPuppeteerLaunch Chrome with --force-prefers-reduced-motion using Puppeteer
const browser = await puppeteer.launch({
args: ['--force-prefers-reduced-motion']
});PlaywrightLaunch Chrome with --force-prefers-reduced-motion using Playwright
const browser = await chromium.launch({
args: ['--force-prefers-reduced-motion']
});SeleniumLaunch Chrome with --force-prefers-reduced-motion using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--force-prefers-reduced-motion')
driver = webdriver.Chrome(options=options)