Proxies in Puppeteer.

Chrome takes the proxy address as a launch flag but has no flag for the login. Puppeteer answers the login prompt for you with page.authenticate.

Last checked
Reading time
2 min
Networks
ResidentialISP

04FAQ

Questions people ask.

Not covered here? Write to support@fullstackproxy.com and a person will reply: usually within an hour, sometimes up to 24 hours.

Can I put the username and password in --proxy-server?

No. Chrome ignores a login inside --proxy-server. Pass only the host and port there and give the login to page.authenticate.

Can Puppeteer use a SOCKS5 proxy with a password?

Chrome does not support passwords on SOCKS5 proxies. Use the http:// form of the gateway in browsers: it carries https:// pages through an encrypted tunnel just the same.

Paste the gateway into your tool and you are done.