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.02/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)

---

# Remote browser for Playwright, Puppeteer and CDP

> Create a browser with one POST, paste the CDP URL into connectOverCDP, and run. $0.02 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/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: `POST https://api.browser-use.com/api/v4/browsers` with header `X-Browser-Use-API-Key`. Optional body fields: `proxyCountryCode`, `profileId`, `enableRecording`, `customProxy`, `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: `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.02 per browser-hour, metered by the minute. Residential proxy traffic $5/GB. No subscription, credits never expire.
- Hardened Chromium build with stealth on by default: 81% of 71 protected sites reached on the stealth benchmark; next provider 77%.
- Automatic CAPTCHA solving. Set `solveCaptchas` to false to handle challenges yourself.
- Residential proxies in 195+ countries, selected per session, or bring your own proxy.
- Persistent profiles for cookies and logins, and sync from your local Chrome.
- Concurrency from 10 to 1,000+ sessions, rising with lifetime spend.

## FAQ

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

**What does a remote browser cost?** $0.02 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.
