---
title: "Remote browser for Playwright, Puppeteer and CDP"
description: "Create a browser with one SDK call, paste the CDP URL into connectOverCDP, and run. $0.06 per browser-hour, metered by the minute, no subscription. Stealth, CAPTCHA solving and residential proxies in 195+ countries are included."
canonical: "https://browser-use.com/integrations/playwright"
last_updated: "2026-12-04"
---

# Remote browser for Playwright, Puppeteer and CDP

> Create a browser with one SDK call, paste the CDP URL into connectOverCDP, and run. $0.06 per browser-hour, metered by the minute, no subscription. Stealth, CAPTCHA solving and residential proxies in 195+ countries are included.

[HTML page](https://browser-use.com/integrations/playwright) · [Docs](https://docs.browser-use.com/cloud/browser/playwright-puppeteer-selenium) · [Pricing](https://browser-use.com/pricing.md)

## Three steps

1. Create a browser: `client.browsers.create()` with `browser-use-sdk` (Python: `pip install browser-use-sdk`, `from browser_use_sdk.v4 import BrowserUse`, `client = BrowserUse()`. TypeScript: `npm i browser-use-sdk`, `import { BrowserUse } from "browser-use-sdk/v4"`, `const client = new BrowserUse()`. Both read `BROWSER_USE_API_KEY`). Over REST: `POST https://api.browser-use.com/api/v4/browsers` with header `X-Browser-Use-API-Key`. Optional body fields: `proxyCountryCode`, `profileId`, `enableRecording`, `customProxy` (enterprise), `solveCaptchas`. The response carries `id` and `cdpUrl`.
2. Connect over CDP. Playwright: `chromium.connect_over_cdp(cdp_url)` in Python or `chromium.connectOverCDP(cdpUrl)` in TypeScript. Puppeteer: `puppeteer.connect({ browserWSEndpoint: cdpUrl })`. Your existing script runs unchanged.
3. Stop when done: `client.browsers.stop(id)`, or `PATCH /api/v4/browsers/{id}` with `{"action":"stop"}`. Closing the CDP connection or calling `browser.close()` does not stop the managed browser.

Selenium's `debugger_address` only accepts a local host:port, so Selenium cannot attach to a remote CDP WebSocket. Use Playwright or Puppeteer.

## What every browser includes

- $0.06 per browser-hour, metered by the minute. Residential proxy traffic $5/GB. No subscription, credits never expire.
- Stealth: our own hardened Chromium build with stealth on by default, first on Stealth Bench V2 (selected sites): it got through on 90.5% of visits to 100 bot-protected sites; next provider Anchor 82%. The sites were picked where Browser Use Cloud historically got through and stock Chrome did not, so they are not a balanced sample.
- Built-in [automatic CAPTCHA solving](https://browser-use.com/features/captcha-solving.md) for reCAPTCHA, plus hCaptcha (newer, not guaranteed); off in the EU region. No solver API key, no token injection. Set `solveCaptchas` to false to handle challenges yourself.
- Residential proxies in 195+ countries, selected per session, or your own proxy on enterprise.
- Persistent profiles for cookies and logins, and sync from your local Chrome.
- A `liveUrl` for every browser and mp4 recordings with `enableRecording` ([live view and recording](https://browser-use.com/features/live-view.md)). Puppeteer-only setup: [hosted Chrome for Puppeteer](https://browser-use.com/integrations/puppeteer.md).
- Concurrency from 10 to 1,000 sessions per project, rising with what the project has paid ([usage tiers](https://browser-use.com/pricing#usage-tiers)), 10k+ on enterprise.

## FAQ

**Do I have to change my Playwright script?** One line. Replace `chromium.launch()` with `chromium.connectOverCDP(cdpUrl)` and keep the rest.

**What does a remote browser cost?** $0.06 per browser-hour by the minute, plus $5/GB for managed residential proxy traffic. No subscription.

**Are stealth and CAPTCHA solving extra?** No. Nothing is gated behind a plan.

**Can I keep a login between sessions?** Yes. Save a profile once and pass its id when creating the browser.

---

BROWSER USE

- Browser Use Agents: give Browser Use a task and receive completed work. API V4 is current for new integrations.
- Browser Infrastructure: connect your agent or automation to managed browsers through SDK, REST, or CDP. Starts at $0.06/browser-hour.
- Developer tools: Open Source, Browser Harness, SDK, and MCP support the two products above.

[Developer Index](https://browser-use.com/index.md)
[Product Map](https://browser-use.com/llms.txt)
[Full Product Context](https://browser-use.com/llms-full.txt)
[Pricing](https://browser-use.com/pricing.md)
[Cloud Docs](https://docs.browser-use.com/cloud/quickstart)
[Open Source Docs](https://docs.browser-use.com/open-source/introduction)
