Chrome Flags Reference

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

--webgl-msaa-sample-count

What does --webgl-msaa-sample-count do?

Set a default sample count for webgl if msaa is enabled.

Usage

CLILaunch Chrome with --webgl-msaa-sample-count using CLI

chrome --webgl-msaa-sample-count

PuppeteerLaunch Chrome with --webgl-msaa-sample-count using Puppeteer

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

PlaywrightLaunch Chrome with --webgl-msaa-sample-count using Playwright

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

SeleniumLaunch Chrome with --webgl-msaa-sample-count using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--webgl-msaa-sample-count')

driver = webdriver.Chrome(options=options)

Build Conditions

LOAD_WEBUI_FROM_DISK