--disable-gpu-early-init
What does --disable-gpu-early-init do?
Disable proactive early init of GPU process.
Usage
CLILaunch Chrome with --disable-gpu-early-init using CLI
chrome --disable-gpu-early-initPuppeteerLaunch Chrome with --disable-gpu-early-init using Puppeteer
const browser = await puppeteer.launch({
args: ['--disable-gpu-early-init']
});PlaywrightLaunch Chrome with --disable-gpu-early-init using Playwright
const browser = await chromium.launch({
args: ['--disable-gpu-early-init']
});SeleniumLaunch Chrome with --disable-gpu-early-init using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--disable-gpu-early-init')
driver = webdriver.Chrome(options=options)