Chrome Flags Reference

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

--no-pre-read-main-dll

What does --no-pre-read-main-dll do?

Whether this process should PrefetchVirtualMemory on the contents of Chrome.dll. This warms up the pages in memory to speed up startup but might not be required in later renderers and/or GPU. For experiment info see crbug.com/1350257.

Usage

CLILaunch Chrome with --no-pre-read-main-dll using CLI

chrome --no-pre-read-main-dll

PuppeteerLaunch Chrome with --no-pre-read-main-dll using Puppeteer

const browser = await puppeteer.launch({
  args: ['--no-pre-read-main-dll']
});

PlaywrightLaunch Chrome with --no-pre-read-main-dll using Playwright

const browser = await chromium.launch({
  args: ['--no-pre-read-main-dll']
});

SeleniumLaunch Chrome with --no-pre-read-main-dll using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--no-pre-read-main-dll')

driver = webdriver.Chrome(options=options)

Build Conditions

ANDROID!(CHROMEOS)MACWIN