Chrome Flags Reference

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

--ash-enable-software-mirroring

What does --ash-enable-software-mirroring do?

scripts have been updated, the leading "ash" prefix should be removed. Enables software based mirroring.

Usage

CLILaunch Chrome with --ash-enable-software-mirroring using CLI

chrome --ash-enable-software-mirroring

PuppeteerLaunch Chrome with --ash-enable-software-mirroring using Puppeteer

const browser = await puppeteer.launch({
  args: ['--ash-enable-software-mirroring']
});

PlaywrightLaunch Chrome with --ash-enable-software-mirroring using Playwright

const browser = await chromium.launch({
  args: ['--ash-enable-software-mirroring']
});

SeleniumLaunch Chrome with --ash-enable-software-mirroring using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--ash-enable-software-mirroring')

driver = webdriver.Chrome(options=options)