Chrome Flags Reference

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

--show-fps-counter

What does --show-fps-counter do?

Draws a heads-up-display showing Frames Per Second as well as GPU memory usage. If you also use --enable-logging=stderr --vmodule="head*=1" then FPS will also be output to the console log.

Usage

CLILaunch Chrome with --show-fps-counter using CLI

chrome --show-fps-counter

PuppeteerLaunch Chrome with --show-fps-counter using Puppeteer

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

PlaywrightLaunch Chrome with --show-fps-counter using Playwright

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

SeleniumLaunch Chrome with --show-fps-counter using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--show-fps-counter')

driver = webdriver.Chrome(options=options)