Chrome Flags Reference

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

--no-proxy-server

What does --no-proxy-server do?

Don't use a proxy server, always make direct connections. Overrides any other proxy server flags that are passed.

Usage

CLILaunch Chrome with --no-proxy-server using CLI

chrome --no-proxy-server

PuppeteerLaunch Chrome with --no-proxy-server using Puppeteer

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

PlaywrightLaunch Chrome with --no-proxy-server using Playwright

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

SeleniumLaunch Chrome with --no-proxy-server using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--no-proxy-server')

driver = webdriver.Chrome(options=options)