Chrome Flags Reference

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

--force-effective-connection-type

What does --force-effective-connection-type do?

Forces Network Quality Estimator (NQE) to return a specific effective connection type.

Usage

CLILaunch Chrome with --force-effective-connection-type using CLI

chrome --force-effective-connection-type

PuppeteerLaunch Chrome with --force-effective-connection-type using Puppeteer

const browser = await puppeteer.launch({
  args: ['--force-effective-connection-type']
});

PlaywrightLaunch Chrome with --force-effective-connection-type using Playwright

const browser = await chromium.launch({
  args: ['--force-effective-connection-type']
});

SeleniumLaunch Chrome with --force-effective-connection-type using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--force-effective-connection-type')

driver = webdriver.Chrome(options=options)