﻿<head><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4357510538660394"
     crossorigin="anonymous"></script></head>---
title: "Playwright Proxy Integration"
slug: playwright
date: 2023-11-30T15:33:03+00:00
modified: 2026-10-29T08:49:10+00:00
permalink: https://brightdata.com/integration/playwright
type: integration
---

[Home](/)[Integrations](https://brightdata.com/integration)Playwright Proxy Integration

# 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.

This guide may be outdated. For an up-to-date guide please see [our documentation](https://docs.brightdata.com/integrations/introduction).

Contact salesStart now



- 400M+ Residential IPs
- Sticky and rotating sessions
- 99.95% success rate
- Geo-location targeting - FREE



 ![Playwright proxy integration image](https://media.brightdata.com/2023/11/playwright_inner_page.svg)





## 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](/products/scraping-browser)

Start now[Start free with Google](#)











## Playwright proxy integration with Bright Data

- Begin by going to your [Bright Data Dashboard](https://brightdata.com/cp/zones) 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:






      ```none
const playwright = require('playwright');<br></br><br></br><br></br>
<br></br><br></br><br></br>
const options = {<br></br><br></br><br></br>
    proxy: {<br></br><br></br><br></br>
        server: 'http://brd.superproxy.io:33335',<br></br><br></br><br></br>
        username: 'brd-customer-[customer_ID]-zone-[zone_name]',<br></br><br></br><br></br>
        password: '[zone_password]'<br></br><br></br><br></br>
    }<br></br><br></br><br></br>
};<br></br><br></br><br></br>
<br></br><br></br><br></br>
(async () => {<br></br><br></br><br></br>
    const browser = await playwright.chromium.launch(options);<br></br><br></br><br></br>
    const page = await browser.newPage();<br></br><br></br><br></br>
<br></br><br></br><br></br>
    await page.goto('http://lumtest.com/myip.json');<br></br><br></br><br></br>
<br></br><br></br><br></br>
    const content = await page.content();<br></br><br></br><br></br>
    console.log(content);<br></br><br></br><br></br>
<br></br><br></br><br></br>
    await browser.close();<br></br><br></br><br></br>
})();
```




## 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](/products/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:






      ```none
const playwright = require('playwright');<br></br><br></br><br></br>
<br></br><br></br><br></br>
const options = {<br></br><br></br><br></br>
    proxy: {<br></br><br></br><br></br>
        server: 'http://127.0.0.1:24000'<br></br><br></br><br></br>
    }<br></br><br></br><br></br>
};<br></br><br></br><br></br>
<br></br><br></br><br></br>
(async () => {<br></br><br></br><br></br>
    const browser = await playwright.chromium.launch(options);<br></br><br></br><br></br>
    const page = await browser.newPage();<br></br><br></br><br></br>
<br></br><br></br><br></br>
    await page.goto('http://lumtest.com/myip.json');<br></br><br></br><br></br>
<br></br><br></br><br></br>
    const content = await page.content();<br></br><br></br><br></br>
    console.log(content);<br></br><br></br><br></br>
<br></br><br></br><br></br>
    await browser.close();<br></br><br></br><br></br>
})();
```




**⚠️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

Start now







##  Powered by an award-winning proxy infrastructure

Over 400 million residential IPs, best-in-class technology and the ability to target any country, city, ZIP Code, carrier, &amp; ASN make our premium [proxy services](/proxy-types) a top choice for developers.





## Top proxy locations

   Residential IPs

   Datacenter IPs

   ISP IPs

[United States

10,614,428 IPs](/locations/united-states)[Great Britain

1,426,290 IPs](/locations/gb)[Germany

2,111,438 IPs](/locations/de)[China

1,405,563 IPs](/locations/cn)[France

713,102 IPs](/locations/fr)[Australia

642,357 IPs](/locations/au)[Canada

564,172 IPs](/locations/ca)[Spain

806,624 IPs](/locations/es)[Turkey

1,296,959 IPs](/locations/tr)[Japan

950,181 IPs](/locations/jp)[Brazil

5,332,932 IPs](/locations/br)[India

4,704,600 IPs](/locations/in)

[View all proxy locations](/locations)



## A proxy for every development path

### Mix-and-match networks, peers, and IPs to optimize your continuous flow of web data.



 [### Residential Proxies

**400M+ IPs**- Real user access emulation
- Available in 195 countries
- The largest rotating real-peer IP network
- Access &amp; crawl all sophisticated websites



 ](/proxy-types/residential-proxies)

 [### Datacenter Proxies

**1.3M+ IPs**- Enterprise-grade scale with high precision
- Available in 98 countries
- Shared and dedicated IP pools available
- Access &amp; crawl all sophisticated websites



 ](/proxy-types/datacenter-proxies)

 [### ISP Proxies

**1.3M+ IPs**- Residential IP reputation with datacenter speeds
- Available in 35 countries
- Real static residential IPs without IP rotation
- Best for logging into multiple accounts



 ](/proxy-types/isp-proxies)





## Proxy Network Pricing



 Residential proxiesISP proxiesDatacenter proxies





 Sign-up now and we’ll match your first deposit dollar for dollar, up to $500!

  Start now








 50% OFF



 PAY AS YOU GO



 $8$4/GB



 No commitment

 Start now  Use this coupon code: RESIGB50

 Use our proxies without monthly commitment



 50% OFF



 141 GB Included

 $7$4/GB





  $499  Billed monthly

 Start now  Use this coupon code: RESIGB50

 Perfect for small businesses with moderate usage



 50% OFF



 332 GB Included

 $6$3/GB





  $999  Billed monthly

 Start now  Use this coupon code: RESIGB50

 Designed for large teams with extensive operational needs



 50% OFF



 798 GB Included

 $5$3/GB





  $1,999  Billed monthly

 Start now  Use this coupon code: RESIGB50

 Optimized for enterprises running large-scale operations







Prices shown are estimates in local currency for reference only. Actual charges will be calculated and billed in USD based on the exchange rate at the time of the transaction. Bright Data is not liable for any foreign exchange differences. USD pricing is binding, local currency amounts are indicative only.

 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










 10 IPs

 $1.8/IP

 $18Billed monthly

 Start now

 Perfect for small businesses with moderate usage



 100 IPs

 $1.45/IP

 $145Billed monthly

 Start now

 Tailored for teams looking to scale their operations



 500 IPs

 $1.4/IP

 $700Billed monthly

 Start now

 Designed for large teams with extensive operational needs



 1000 IPs

 $1.3/IP

 $1,300Billed monthly

 Start now

 Optimized for enterprises running large-scale operations







Prices shown are estimates in local currency for reference only. Actual charges will be calculated and billed in USD based on the exchange rate at the time of the transaction. Bright Data is not liable for any foreign exchange differences. USD pricing is binding, local currency amounts are indicative only.

 Need more than 1,000 IPs?

  Contact us





- Unlimited scale
- Unlimited seats
- Premium SLA
- 99.99% Network Uptime
- Free Proxy Manager
- Complete data coverage
- Custom price per IP
- Custom solutions










 10 IPs

 $1.4/IP

 $14Billed monthly

 Start now

 Perfect for small businesses with moderate usage



 100 IPs

 $1/IP

 $100Billed monthly

 Start now

 Tailored for teams looking to scale their operations



 500 IPs

 $0.95/IP

 $475Billed monthly

 Start now

 Designed for large teams with extensive operational needs



 1000 IPs

 $0.9/IP

 $900Billed monthly

 Start now

 Optimized for enterprises running large-scale operations







Prices shown are estimates in local currency for reference only. Actual charges will be calculated and billed in USD based on the exchange rate at the time of the transaction. Bright Data is not liable for any foreign exchange differences. USD pricing is binding, local currency amounts are indicative only.

 Need more than 1,000 IPs?

  Contact us





- Unlimited scale
- Unlimited seats
- Premium SLA
- 99.99% Network Uptime
- Free Proxy Manager
- Complete data coverage
- Custom price per IP
- Custom solutions





 We accept these payment methods:



 Using AWS? You can now pay through the AWS Marketplace

  Get started



## The category leader in proxies and data collection



**650TB** of public data collected every day







New feature releases every day







Serving **7/10** of the world’s leading universities







4.6/5 Trustpilot rating











## Ready to get Playwright proxies?

Start now
