Chrome Flags Reference

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

--disable-gpu-process-crash-limit

What does --disable-gpu-process-crash-limit do?

For tests, to disable the limit on the number of times the GPU process may be restarted.

Usage

CLILaunch Chrome with --disable-gpu-process-crash-limit using CLI

chrome --disable-gpu-process-crash-limit

PuppeteerLaunch Chrome with --disable-gpu-process-crash-limit using Puppeteer

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

PlaywrightLaunch Chrome with --disable-gpu-process-crash-limit using Playwright

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

SeleniumLaunch Chrome with --disable-gpu-process-crash-limit using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--disable-gpu-process-crash-limit')

driver = webdriver.Chrome(options=options)