Chrome Flags Reference

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

--max-gum-fps

What does --max-gum-fps do?

Override the maximum framerate as can be specified in calls to getUserMedia. This flag expects a value. Example: --max-gum-fps=17.5

Usage

CLILaunch Chrome with --max-gum-fps using CLI

chrome --max-gum-fps

PuppeteerLaunch Chrome with --max-gum-fps using Puppeteer

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

PlaywrightLaunch Chrome with --max-gum-fps using Playwright

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

SeleniumLaunch Chrome with --max-gum-fps using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--max-gum-fps')

driver = webdriver.Chrome(options=options)

Build Conditions

LOAD_WEBUI_FROM_DISK