4 ms·
There's a workaround - https://blog.apify.com/how-to-make-headless-chrome-and-puppeteer-use-a-proxy-server-with-authentication-249a21a79212 https://blog.apify.c
by jancurn 9y ago
There's a workaround - https://blog.apify.com/how-to-make-headless-chrome-and-puppeteer-use-a-proxy-server-with-authentication-249a21a79212 https://blog.apify.com/how-to-make-headless-chrome-and-puppe...
- hartator 9y agoThanks. Wish it was simpler. It seems overkill to have to an extra proxy in the middle with no auth to authenticate with the one with auth, just to make headless chrome working.
- timstapl 9y agoThere's also page.authenticate, which has worked well for me. https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#pageauthenticatecredentials https://github.com/GoogleChrome/puppeteer/blob/master/docs/a...
- jancurn 9y agoYou can also use page.authenticate() for that - see a note at the bottom of the article. Also see https://github.com/GoogleChrome/puppeteer/pull/1732 https://github.com/GoogleChrome/puppeteer/pull/1732