Chrome Flags Reference

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

--no-network-profile-warning

What does --no-network-profile-warning do?

Whether or not the browser should warn if the profile is on a network share. This flag is only relevant for Windows currently.

Usage

CLILaunch Chrome with --no-network-profile-warning using CLI

chrome --no-network-profile-warning

PuppeteerLaunch Chrome with --no-network-profile-warning using Puppeteer

const browser = await puppeteer.launch({
  args: ['--no-network-profile-warning']
});

PlaywrightLaunch Chrome with --no-network-profile-warning using Playwright

const browser = await chromium.launch({
  args: ['--no-network-profile-warning']
});

SeleniumLaunch Chrome with --no-network-profile-warning using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--no-network-profile-warning')

driver = webdriver.Chrome(options=options)

Build Conditions

ANDROID!(CHROMEOS)MACWIN