v1.10.90-0e025b8
Skip to main content
← Back to Tools

Puppeteer Proxy Generator

Create a Puppeteer proxy setup with authenticated routing.

Inputs

Generated Output

Puppeteer launch config
import puppeteer from "puppeteer";

const browser = await puppeteer.launch({
  args: ["--proxy-server=http://gate.hexproxies.com:8080"],
});

const page = await browser.newPage();
await page.authenticate({
  username: "username",
  password: "password",
});

await page.goto("https://example.com");

Puppeteer proxy config

Puppeteer sets proxies via launch arguments and authenticates via page.authenticate. This generator gives you a working baseline to start testing immediately.

Common pitfalls

  • Missing authentication leads to 407 errors
  • Shared sessions across tabs can cause mixed geo behavior

Suggested workflow

Run a single page per proxy session for stability, then scale concurrency gradually.

Step-by-step

1
Set launch args
Pass the proxy server via --proxy-server.
2
Authenticate
Call page.authenticate with your credentials.
3
Validate session
Check the target and confirm the expected geo.

Tips

  • • Use a fresh browser instance for each proxy session when doing sensitive flows.

Related Resources