Chrome Flags Reference

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

--enforce-gl-minimums

What does --enforce-gl-minimums do?

Enforce GL minimums.

Usage

CLILaunch Chrome with --enforce-gl-minimums using CLI

chrome --enforce-gl-minimums

PuppeteerLaunch Chrome with --enforce-gl-minimums using Puppeteer

const browser = await puppeteer.launch({
  args: ['--enforce-gl-minimums']
});

PlaywrightLaunch Chrome with --enforce-gl-minimums using Playwright

const browser = await chromium.launch({
  args: ['--enforce-gl-minimums']
});

SeleniumLaunch Chrome with --enforce-gl-minimums using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--enforce-gl-minimums')

driver = webdriver.Chrome(options=options)