Playwright Proxy Integration

Integrating Playwright with Bright Data proxies enhances your web scraping capabilities, providing secure and flexible proxy management for precise and reliable data extraction.

No credit card required
  • 72M+ Residential IPs
  • Sticky and rotating sessions
  • 99.95% success rate
  • Geo-location targeting - FREE
Playwright proxy integration image

Watch our step by step video on how to integrate Bright Data proxies with Playwright

New Bright Data product: Scraping Browser

Playwright Compatible
Easily make an API call to fetch any number of browser sessions and interact with them using Puppeteer (Python), Playwright (Node.js), or Selenium over a CDP protocol. Ideal for scraping projects that require website interactions to retrieve data, like hovering over a page, clicking buttons, scrolling, adding text, etc.

To learn more about Scraping Brower

Playwright proxy integration with Bright Data

  • Begin by going to your Bright Data Dashboard and clicking ‘create a Zone’.
  • Choose ‘Network type’ and click save.
  • Within Playwright fill in the ‘Proxy IP:Port’ in the ‘proxy-server’ value, for example brd.superproxy.io:33335.
  • Under ‘page.authenticate’ input your Bright Data account ID and proxy Zone name in the ‘username’ value, for example: brd-customer-CUSTOMER-zone-YOURZONE and your Zone password found in the Zone settings.
  • For example:
      const playwright = require('playwright');





const options = {


proxy: {


server: 'http://brd.superproxy.io:33335',


username: 'brd-customer-[customer_ID]-zone-[zone_name]',


password: '[zone_password]'


}


};





(async () => {


const browser = await playwright.chromium.launch(options);


const page = await browser.newPage();





await page.goto('http://lumtest.com/myip.json');





const content = await page.content();


console.log(content);





await browser.close();


})();

Proxy Manager and Playwright Integration

  • Create a Zone with the network, IP type, and number of IPs you wish to use.
  • Install the Proxy Manager.
  • Click ‘add new proxy’ and choose the Zone and settings you require, click ‘save’.
  • In Playwright, under the ‘server’, input your local IP and Proxy Manager port (i.e. 127.0.0.1:24000)
    • The local host IP is 127.0.0.1
    • The port created in the Proxy Manager is 24XXX. For example, 24000
  • For example:
      const playwright = require('playwright');





const options = {


proxy: {


server: 'http://127.0.0.1:24000'


}


};





(async () => {


const browser = await playwright.chromium.launch(options);


const page = await browser.newPage();





await page.goto('http://lumtest.com/myip.json');





const content = await page.content();


console.log(content);





await browser.close();


})();

⚠️Important note: If you are using Bright Data’s Residential Proxies, Web Unlocker or SERP API, you need to install an SSL certificate to enable end-to-end secure connections to your target website(s). This is a simple process, see https://docs.brightdata.com/general/account/ssl-certificate#installation-of-the-ssl-certificate for instructions.

Get proxies for Playwright

proxy badges

Powered by an award-winning proxy infrastructure

Over 72 million residential IPs, best-in-class technology and the ability to target any country, city, ZIP Code, carrier, & ASN make our premium proxy services a top choice for developers.

About Bright Data proxies

Residential Proxies

  • 72,000,000+ IPs
  • Available in 195 countries
  • The largest rotating real-peer IP network
  • Access & crawl all sophisticated websites

Datacenter Proxies

  • 770,000+ IPs
  • Available in 98 countries
  • Shared and dedicated IP pools available
  • Access & crawl all sophisticated websites

ISP Proxies

  • 700,000+ IPs
  • Available in 35 countries
  • Real static residential IPs without IP rotation
  • Best for logging into multiple accounts

Mobile Proxies

  • 7,000,000+ IPs
  • Available in 195 countries
  • Largest real-peer 3G/4G IP network
  • Verify mobile ads & crawl mobile sites

Proxy Network Pricing

PAY AS YOU GO
$8.4 / GB
No commitment
Start free trial
Use our proxies without monthly commitment
69 GB Included
$7.14 / GB
$499 Billed monthly
Start free trial
Perfect for small businesses with moderate usage
158 GB Included
$6.3 / GB
$999 Billed monthly
Start free trial
Designed for large teams with extensive operational needs
339 GB Included
$5.88 / GB
$1999 Billed monthly
Start free trial
Optimized for enterprises running large-scale operations
Need more than 1 TB?
Contact us
  • Unlimited scale
  • Unlimited seats
  • Premium SLA
  • 99.99% Network Uptime
  • Free Proxy Manager
  • Complete data coverage
  • Custom price per GB
  • Custom solutions
PAY AS YOU GO
$8.4 / GB
No commitment
Start free trial
Use our proxies without monthly commitment
69 GB Included
$7.14 / GB
$499 Billed monthly
Start free trial
Perfect for small businesses with moderate usage
158 GB Included
$6.3 / GB
$999 Billed monthly
Start free trial
Designed for large teams with extensive operational needs
339 GB Included
$5.88 / GB
$1999 Billed monthly
Start free trial
Optimized for enterprises running large-scale operations
Need more than 1 TB?
Contact us
  • Unlimited scale
  • Unlimited seats
  • Premium SLA
  • 99.99% Network Uptime
  • Free Proxy Manager
  • Complete data coverage
  • Custom price per GB
  • Custom solutions
PAY AS YOU GO
$15 / GB
No commitment
Start free trial
Use our proxies without monthly commitment
39 GB Included
$12.75 / GB
$499 Billed monthly
Start free trial
Perfect for small businesses with moderate usage
88 GB Included
$11.25 / GB
$999 Billed monthly
Start free trial
Designed for large teams with extensive operational needs
190 GB Included
$10.5 / GB
$1999 Billed monthly
Start free trial
Optimized for enterprises running large-scale operations
Need more than 1 TB?
Contact us
  • Unlimited scale
  • Unlimited seats
  • Premium SLA
  • 99.99% Network Uptime
  • Free Proxy Manager
  • Complete data coverage
  • Custom price per GB
  • Custom solutions
PAY AS YOU GO
$0.6 / GB
No commitment
Start free trial
Use our proxies without monthly commitment
1 TB Included
$0.51 / GB
$499 Billed monthly
Start free trial
Perfect for small businesses with moderate usage
2 TB Included
$0.45 / GB
$999 Billed monthly
Start free trial
Designed for large teams with extensive operational needs
5 TB Included
$0.42 / GB
$1999 Billed monthly
Start free trial
Optimized for enterprises running large-scale operations
Need more than 1 TB?
Contact us
  • Unlimited scale
  • Unlimited seats
  • Premium SLA
  • 99.99% Network Uptime
  • Free Proxy Manager
  • Complete data coverage
  • Custom price per GB
  • Custom solutions
We accept these payment methods:

The category leader in proxies and data collection

Category leader in proxies

650TB of public data collected every day

Number of ISP proxies

New feature releases every day

Serving 7/10 universities

Serving 7/10 of the world’s leading universities

Trust pilot ratings
4.6/5 Trustpilot rating

Ready to get Playwright proxies?