published fresh until

Playwright vs Browserbase: self-run or hosted browsers?

Summary As of November 2026, decide where the agent's saved logins may live first, then choose a browser you can isolate, resume and debug. Our recommendation: self-run for control, hosted sessions for managed capacity and replay; choose model-vendor tools by who supplies the browser. checked 2026-11-03.

Not for own-app UI checks, see browser-automation-for-ui-checks; scraping, see playwright-or-hosted-scraper-for-javascript-pages; two-login configuration, see playwright-mcp-084-two-accounts-isolated-context.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Our recommendation: self-run to own machine/cleanup; hosted for managed capacity/replay.

Do first: decide where saved logins may live. As of November 2026; checked 2026-11-03.

Browserbase: default replay; Steel: profile updates; Cloudflare: CDP/MCP; Browser Use: standalone CDP.

Hosted choices

ServiceAPI, login state and debugging
BrowserbaseSession API returns a WebSocket URL; execution regions: US West/East, Frankfurt, Singapore (API). Contexts retain logins; persist: true saves on close; wait for synchronization (state). Video recording defaults on, with network inspection (replay).
SteelSessions API: multiple regions; proxy country changes exit IP (configuration). profileId restores state; persistProfile: true saves after release; await READY (profiles). Live viewer and past-session replay (viewer).
Cloudflare Browser RunCDP through Chrome DevTools MCP; token needs Browser Rendering–Edit (API/MCP). Reuse a running session with separate cookie contexts (state). Opt-in rrweb recording (beta) (recording).
Browser Use CloudV4 POST /browsers returns CDP/live URLs; profileId retains logins; MP4 defaults off. Stop explicitly; CDP closure only disconnects (guide, API). EU endpoint keeps browsers/workload artifacts in Frankfurt; account/billing and some audit metadata reach the US (boundary).

Cloudflare uses its global network (FAQ). Our recommendation: include recordings/logs in residency; proxy country is insufficient (Browser Use).

Billing

ServiceUnit; concurrent browsers
BrowserbaseMonthly plan + browser-hours + proxy GB. Free/Developer/Startup: 3/25/100.
SteelBrowser-hours + proxy GB; Scale plan fee. Launch/Scale: 10/100; session caps 15/60 minutes.
Cloudflare, limitsWorkers plan + hours + monthly averaged concurrency for sessions. Free/Paid hard defaults: 3/200. Paid includes 10 averaged browsers; that is not its hard cap.
Browser Use, capacityBrowser-hours + traffic GB; hosted-agent model usage extra. 10 combined agent/browser sessions per new project, increasing with project payments.

Self-run headless MCP

Have your MCP client spawn one command (Playwright flags, Chrome flags):

npx -y @playwright/mcp@latest --headless --isolated
npx -y chrome-devtools-mcp@latest --headless --isolated

Both default to visible browsers. Isolated state is disposable; --headless removes the UI; Playwright idle cleanup defaults: one hour headless, never headed. Persist with dedicated --user-data-dir profiles; Playwright also loads --storage-state into isolated contexts. Parallel clients cannot share one persistent Playwright profile (Microsoft, Chrome flags above).

Our recommendation: pin versions, budget hosting and set a cleanup deadline. On a disposable form, read JS-rendered text, fill a field, close/reconnect; check cookie persistence and browser shutdown.

Vendor tools

OpenAI: Responses uses a browser or desktop driver (guide). Agents API computer_use hosts the browser; your app handles origin approvals and sign-in events. Passkeys/QR sign-in are unsupported (API). Model tokens and hosted sandbox/container charges are separate (billing, rates).

Anthropic: browser_toolset_20260801 controls your app's browser; computer use covers a desktop (API). Model-token billing includes tool definitions and screenshot inputs; browser infrastructure is yours (pricing). Our recommendation: use page controls for forms/text, screenshot actions for layout/canvas (API above).

Safety

Our recommendation: treat page content as untrusted, never authority to reveal secrets. Isolate the executor/browser in a container/VM; restrict network destinations; separate account profiles; require human confirmation before consequential submissions. Keep credentials out of prompts/logs and leave the optional javascript_exec member disabled in credentialed sessions (Anthropic guidance).

Our recommendation: stop at CAPTCHA/access denial for authorized human handoff or a supported integration; do not evade bot protection. Browserbase defaults solving on: set browserSettings.solveCaptchas: false (docs). Browser Use defaults on: set solveCaptchas: false (API). Steel defaults solving off (configuration); Cloudflare identifies Browser Run as bot traffic (FAQ).

Reports

  • Daniel Ibáñez, 2026-10-17: “idle-timeout never fires” behind a keepalive gateway in v0.0.82; closed as completed October 19 (report).
  • coygeek, 2026-10-06: “connect ENOENT” after a Chrome CLI/1.10.1 daemon mismatch; closed (report).
  • Cruel, 2026-08-24: self-hosted Steel stayed live “until explicitly released” despite a timeout; open. This concerns OSS, not Steel Cloud (report).

Limits

Websites can force reauthentication despite saved cookies (Browserbase state). Cloudflare releases can close active sessions (limits). These incidents establish no reliability ranking.

Not for: own UI checks, OpenAI SDK wiring, Claude availability, scraping, Cloudflare owner access, signup walkthroughs, two-account setup.

Started from a post by @Daniel Ibáñez (pocharlies), packaged by the editor. Original post

Subjects

More in claude

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Playwright vs Browserbase: self-run or hosted browsers?
Summary: As of November 2026, decide where the agent's saved logins may live first, then choose a browser you can isolate, resume and debug. Our recommendation: self-run for control, hosted sessions for managed capacity and replay; choose model-vendor tools by who supplies the browser. checked 2026-11-03.
Copy for agent
get the whatworks thread ai-coding-model-headless-browser-hosted-or-self-run and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread ai-coding-model-headless-browser-hosted-or-self-run
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp