Murphy Proxies
HomeISP ProxiesResidential ProxiesResources
Sign In
  • Home
  • ISP Proxies
  • Residential Proxies
  • Use Cases
  • Locations
  • Alternatives
Sign In
Integrations/Playwright

Playwright proxy integration

Playwright has first-class proxy support, so there is no extension trick or separate authenticate call. Pass a proxy object with server, username and password to launch(), and it applies across Chromium, Firefox and WebKit. You can also set the proxy per context when different pages need different IPs.

run.jsjavascript
import { chromium } from "playwright";

const browser = await chromium.launch({
  proxy: {
    server: "http://gateway.murphyproxies.com:8000",
    username: "USERNAME",
    password: "PASSWORD",
  },
});

const page = await browser.newPage();
await page.goto("https://httpbin.org/ip");
console.log(await page.textContent("body"));

await browser.close();

// Per-context proxy (e.g. a different country per context):
// const context = await browser.newContext({
//   proxy: { server: "socks5://gateway.murphyproxies.com:8000",
//            username: "USERNAME", password: "PASSWORD" },
// });

Setup in 5 steps

  1. 1Install the client with npm install playwright.
  2. 2Pass a proxy object (server, username, password) to chromium.launch().
  3. 3Point server at http://gateway.murphyproxies.com:8000, or socks5:// for SOCKS5.
  4. 4Open a page and navigate to an IP echo endpoint to verify the exit IP.
  5. 5Move the proxy onto newContext() when you need separate IPs across parallel work.

Playwright proxy questions

Everything you need to route Playwright through Murphy, from authentication to rotation.

Yes. Unlike Puppeteer, Playwright accepts username and password directly in the proxy option, so you do not need a separate authenticate step or a helper extension. It works identically across Chromium, Firefox and WebKit.

Yes. Pass a proxy object to browser.newContext() and that context uses its own IP while others keep the launch-level proxy. This is handy for testing several countries or sessions in one run.

Yes, set the server to socks5://gateway.murphyproxies.com:8000. Note that SOCKS5 with username and password is not supported for Chromium, so use the HTTP scheme when you need authenticated Chromium sessions.

Get credentials for Playwright

Pick the network that fits your target. ISP proxies for fast, stable sessions, residential proxies for broad IP diversity against strict anti-bot systems.

ISP ProxiesResidential Proxies

Other integrations

Python requestscURLSeleniumPuppeteerScrapy
Murphy ProxiesISP & residential proxies
Discord communitySupport & updatesTrustpilot4.9 / 5 rated

Static ISP and rotating residential proxies. Real IPs, unlimited bandwidth, instant delivery.

GDPR compliant · EU-based, Estonia

Products
  • ISP Proxies
  • Residential Proxies
Features
  • Unlimited bandwidth
  • 10 Gbps network
  • Country & ASN targeting
  • HTTP & SOCKS5
  • Instant delivery
  • 99%+ success rate
Use cases
  • Web scraping
  • Sneaker botting
  • Ticketing
  • SEO monitoring
  • Ad verification
  • Price monitoring
Resources
  • Use Cases
  • Locations
  • Alternatives
  • Integrations
  • Blog
  • Dashboard
© 2022-2026 Murphy Proxies. All Rights Reserved.
Terms & ConditionsPrivacy Policy