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