Chrome Flags Reference

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

--enable-swap-buffers-with-bounds

What does --enable-swap-buffers-with-bounds do?

Enables SwapBuffersWithBounds if it is supported.

Usage

CLILaunch Chrome with --enable-swap-buffers-with-bounds using CLI

chrome --enable-swap-buffers-with-bounds

PuppeteerLaunch Chrome with --enable-swap-buffers-with-bounds using Puppeteer

const browser = await puppeteer.launch({
  args: ['--enable-swap-buffers-with-bounds']
});

PlaywrightLaunch Chrome with --enable-swap-buffers-with-bounds using Playwright

const browser = await chromium.launch({
  args: ['--enable-swap-buffers-with-bounds']
});

SeleniumLaunch Chrome with --enable-swap-buffers-with-bounds using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--enable-swap-buffers-with-bounds')

driver = webdriver.Chrome(options=options)

Build Conditions

ENABLE_VULKAN && \