--metrics-shmem-handle
What does --metrics-shmem-handle do?
Handle to the shared memory segment a child process should use to transmit histograms back to the browser process.
Usage
CLILaunch Chrome with --metrics-shmem-handle using CLI
chrome --metrics-shmem-handlePuppeteerLaunch Chrome with --metrics-shmem-handle using Puppeteer
const browser = await puppeteer.launch({
args: ['--metrics-shmem-handle']
});PlaywrightLaunch Chrome with --metrics-shmem-handle using Playwright
const browser = await chromium.launch({
args: ['--metrics-shmem-handle']
});SeleniumLaunch Chrome with --metrics-shmem-handle using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--metrics-shmem-handle')
driver = webdriver.Chrome(options=options)