--disable-gpu-rasterization
What does --disable-gpu-rasterization do?
Disable GPU rasterization, i.e. rasterize on the CPU only. Overrides the kEnableGpuRasterization flag.
Usage
CLILaunch Chrome with --disable-gpu-rasterization using CLI
chrome --disable-gpu-rasterizationPuppeteerLaunch Chrome with --disable-gpu-rasterization using Puppeteer
const browser = await puppeteer.launch({
args: ['--disable-gpu-rasterization']
});PlaywrightLaunch Chrome with --disable-gpu-rasterization using Playwright
const browser = await chromium.launch({
args: ['--disable-gpu-rasterization']
});SeleniumLaunch Chrome with --disable-gpu-rasterization using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--disable-gpu-rasterization')
driver = webdriver.Chrome(options=options)