3 ms·
Thanks. 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 headles
by hartator 9y ago
Thanks. 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