VexHop
Browser Automation · HTTP / SOCKS5 (:1080)

How to Use VexHop Proxies with Playwright

Pass VexHop HTTP or SOCKS5 credentials directly into Playwright browser launch or per-context proxy options for scalable scraping and QA.

http://proxy.vexhop.com:1080 + username/password
import { chromium } from 'playwright';

const browser = await chromium.launch({
  proxy: {
    server: 'http://proxy.vexhop.com:1080',
    username: 'u_acc01-pool-residential-c-us-s-pw01-t-10m',
    password: process.env.VEXHOP_PROXY_SECRET,
  },
});
const page = await browser.newPage();
await page.goto('https://api.ipify.org?format=json');
console.log(await page.textContent('body'));
await browser.close();

Step-by-Step Setup

  1. 1

    Store your proxy secret in an env var

    Copy your VexHop username and proxy secret from the dashboard and store the secret in VEXHOP_PROXY_SECRET.

  2. 2

    Choose rotating or sticky mode

    Omit -s- for a new IP per connection, or append -s-worker01-t-10m to keep the same IP across page navigations.

  3. 3

    Pass proxy options to chromium.launch

    Use server: 'http://proxy.vexhop.com:1080' (Chromium supports authenticated HTTP proxies natively) with username and password fields.

  4. 4

    Verify exit IP in a smoke test

    Navigate to https://api.ipify.org?format=json and confirm the returned IP matches your requested country.

Popular Locations & Related Utilities

Playwright FAQ

Why use HTTP instead of SOCKS5 in Chromium Playwright?
Chromium's built-in proxy stack supports username/password authentication natively over HTTP CONNECT (including full HTTPS tunneling), whereas Chromium does not support authenticated SOCKS5 without a local forwarder. VexHop's port 1080 handles HTTP CONNECT automatically.