Chrome Flags Reference

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

--gpu-launcher

What does --gpu-launcher do?

Extra command line options for launching the GPU process (normally used for debugging). Use like renderer-cmd-prefix.

Usage

CLILaunch Chrome with --gpu-launcher using CLI

chrome --gpu-launcher

PuppeteerLaunch Chrome with --gpu-launcher using Puppeteer

const browser = await puppeteer.launch({
  args: ['--gpu-launcher']
});

PlaywrightLaunch Chrome with --gpu-launcher using Playwright

const browser = await chromium.launch({
  args: ['--gpu-launcher']
});

SeleniumLaunch Chrome with --gpu-launcher using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--gpu-launcher')

driver = webdriver.Chrome(options=options)