Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hartator
· 8y ago · 0 comments
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.
Comments
[–]
timstapl
8y ago
There's also page.authenticate, which has worked well for me.
https://github.com/GoogleChrome/puppeteer/blob/master/docs/a...
[–]
jancurn
8y ago
You 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