Chrome Flags Reference

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

--disable-3d-apis

What does --disable-3d-apis do?

Disables client-visible 3D APIs, in particular WebGL. This is controlled by policy and is kept separate from the other enable/disable switches to avoid accidentally regressing the policy support for controlling access to these APIs.

Usage

CLILaunch Chrome with --disable-3d-apis using CLI

chrome --disable-3d-apis

PuppeteerLaunch Chrome with --disable-3d-apis using Puppeteer

const browser = await puppeteer.launch({
  args: ['--disable-3d-apis']
});

PlaywrightLaunch Chrome with --disable-3d-apis using Playwright

const browser = await chromium.launch({
  args: ['--disable-3d-apis']
});

SeleniumLaunch Chrome with --disable-3d-apis using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--disable-3d-apis')

driver = webdriver.Chrome(options=options)