"How do I set up Puppeteer with a proxyserver socks5h?"

5 Replies, 483 Views

What’s up!

I recently set up puppeteer with a proxyserver socks5h, and I ran into some issues with authentication.

If your proxy requires a username and password, you can use the following format:

```javascript
const browser = await puppeteer.launch({
args: ['--proxy-server=socks5h://username:password@your-proxy-address:port']
});
```

This should help you bypass any authentication prompts. Good luck!

Messages In This Thread



Users browsing this thread: 1 Guest(s)