Chrome Flags Reference

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

--swiftshader-webgl

What does --swiftshader-webgl do?

No description available for this flag.

Usage

CLILaunch Chrome with --swiftshader-webgl using CLI

chrome --swiftshader-webgl

PuppeteerLaunch Chrome with --swiftshader-webgl using Puppeteer

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

PlaywrightLaunch Chrome with --swiftshader-webgl using Playwright

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

SeleniumLaunch Chrome with --swiftshader-webgl using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--swiftshader-webgl')

driver = webdriver.Chrome(options=options)

Build Conditions

ENABLE_VULKAN && \