Chrome Flags Reference

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

--use-redist-dml

What does --use-redist-dml do?

Try to use a redistributable DirectML.dll. Used for testing WebNN against newer DirectML release before it is integrated into Windows OS. Please see more info about DirectML releases at: https://learn.microsoft.com/en-us/windows/ai/directml/dml-version-history

Usage

CLILaunch Chrome with --use-redist-dml using CLI

chrome --use-redist-dml

PuppeteerLaunch Chrome with --use-redist-dml using Puppeteer

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

PlaywrightLaunch Chrome with --use-redist-dml using Playwright

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

SeleniumLaunch Chrome with --use-redist-dml using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--use-redist-dml')

driver = webdriver.Chrome(options=options)