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

5 Replies, 469 Views

Hey everyone!

Setting up puppeteer with a proxyserver socks5h is pretty straightforward once you get the hang of it.

Make sure you include the proxy in your launch options like this:

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

Just replace `your-proxy-address` and `port` with your actual proxy details. This way, Puppeteer will route all requests through the proxy!

Messages In This Thread



Users browsing this thread: 1 Guest(s)