Chrome Flags Reference

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

--enable-vulkan-protected-memory

What does --enable-vulkan-protected-memory do?

Enables using protected memory for vulkan resources.

Usage

CLILaunch Chrome with --enable-vulkan-protected-memory using CLI

chrome --enable-vulkan-protected-memory

PuppeteerLaunch Chrome with --enable-vulkan-protected-memory using Puppeteer

const browser = await puppeteer.launch({
  args: ['--enable-vulkan-protected-memory']
});

PlaywrightLaunch Chrome with --enable-vulkan-protected-memory using Playwright

const browser = await chromium.launch({
  args: ['--enable-vulkan-protected-memory']
});

SeleniumLaunch Chrome with --enable-vulkan-protected-memory using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--enable-vulkan-protected-memory')

driver = webdriver.Chrome(options=options)