Chrome Flags Reference

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

--bgra

What does --bgra do?

No description available for this flag.

Usage

CLILaunch Chrome with --bgra using CLI

chrome --bgra

PuppeteerLaunch Chrome with --bgra using Puppeteer

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

PlaywrightLaunch Chrome with --bgra using Playwright

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

SeleniumLaunch Chrome with --bgra using Selenium

from selenium import webdriver

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

driver = webdriver.Chrome(options=options)

Build Conditions

ENABLE_VULKAN && \