Chrome Flags Reference

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

--no-service-autorun

What does --no-service-autorun do?

Disables the service process from adding itself as an autorun process. This does not delete existing autorun registrations, it just prevents the service from registering a new one.

Usage

CLILaunch Chrome with --no-service-autorun using CLI

chrome --no-service-autorun

PuppeteerLaunch Chrome with --no-service-autorun using Puppeteer

const browser = await puppeteer.launch({
  args: ['--no-service-autorun']
});

PlaywrightLaunch Chrome with --no-service-autorun using Playwright

const browser = await chromium.launch({
  args: ['--no-service-autorun']
});

SeleniumLaunch Chrome with --no-service-autorun using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--no-service-autorun')

driver = webdriver.Chrome(options=options)