Chrome Flags Reference

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

--disable-gl-error-limit

What does --disable-gl-error-limit do?

Disable the GL error log limit.

Usage

CLILaunch Chrome with --disable-gl-error-limit using CLI

chrome --disable-gl-error-limit

PuppeteerLaunch Chrome with --disable-gl-error-limit using Puppeteer

const browser = await puppeteer.launch({
  args: ['--disable-gl-error-limit']
});

PlaywrightLaunch Chrome with --disable-gl-error-limit using Playwright

const browser = await chromium.launch({
  args: ['--disable-gl-error-limit']
});

SeleniumLaunch Chrome with --disable-gl-error-limit using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--disable-gl-error-limit')

driver = webdriver.Chrome(options=options)