puppeteer-sharp icon indicating copy to clipboard operation
puppeteer-sharp copied to clipboard

Default options of BrowserContextOptions doesn't inherit the browser's ProxyServer

Open hamjo opened this issue 6 months ago • 0 comments

Pages created from IBrowser.NewPageAsync will pick up the OS' proxy server.

Using a browser context created with default options, pages created with IBrowser.NewPageAsync won't pick up the proxy server from the OS.

This was tested with Chrome on Windows.

I suspect that defaulting the BrowserContextOptions.ProxyServer to string.Empty would cause the proxy value to be overridden.

hamjo avatar May 26 '25 19:05 hamjo