Skip to main content
Pass proxyUrl when you need browser traffic to use your own SOCKS5 proxy.

Use a Proxy

const session = await client.browser.session.create({
  type: "hosted",
  proxyUrl: "socks5://user:pass@proxy.example.com:1080",
});

Format

socks5://username:password@host:port
proxyUrl must point to a real SOCKS5 proxy reachable from Driver infrastructure. It cannot be used with nodeId.