Chrome Flags Reference

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

--swiftshader

What does --swiftshader do?

No description available for this flag.

Usage

CLILaunch Chrome with --swiftshader using CLI

chrome --swiftshader

PuppeteerLaunch Chrome with --swiftshader using Puppeteer

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

PlaywrightLaunch Chrome with --swiftshader using Playwright

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

SeleniumLaunch Chrome with --swiftshader using Selenium

from selenium import webdriver

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

driver = webdriver.Chrome(options=options)