--winhttp-proxy-resolver
What does --winhttp-proxy-resolver do?
Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to use Chromium's network stack to fetch, and V8 to evaluate.
Usage
CLILaunch Chrome with --winhttp-proxy-resolver using CLI
chrome --winhttp-proxy-resolverPuppeteerLaunch Chrome with --winhttp-proxy-resolver using Puppeteer
const browser = await puppeteer.launch({
args: ['--winhttp-proxy-resolver']
});PlaywrightLaunch Chrome with --winhttp-proxy-resolver using Playwright
const browser = await chromium.launch({
args: ['--winhttp-proxy-resolver']
});SeleniumLaunch Chrome with --winhttp-proxy-resolver using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--winhttp-proxy-resolver')
driver = webdriver.Chrome(options=options)