---
title: Self-hosted Playwright
slug: playwright-self-hosted
url: "https://toolweight.com/tools/playwright-self-hosted"
homepage: "https://playwright.dev"
categories: browser-automation-apis
last_verified: 2026-07-01
dataset_version: 0738be72
license: CC-BY-4.0
---

# Self-hosted Playwright

> The baseline: run Chromium in your own container and own everything

- Playwright in a container on your own infrastructure, the reference point every hosted product is priced against
- The best debugging story in the category for free; Trace Viewer beats any vendor's replay
- You pay with fingerprint maintenance, proxy sourcing, browser pooling and pager duty
- Cheapest and most controllable for unprotected targets at steady volume; a second full-time job for adversarial ones

## Identity

|  |  |
| --- | --- |
| Name | Self-hosted Playwright |
| Company | Self-hosted Playwright |
| One-liner | The baseline: run Chromium in your own container and own everything |
| Site | https://playwright.dev |
| Docs | https://playwright.dev/docs/docker |
| Repo | https://github.com/microsoft/playwright |
| Founded | 2020 |
| Open source | Yes |
| Licence | Apache-2.0 |
| Compared in | 1 |

## Where it is compared

### [Browser APIs](https://toolweight.com/compare/browser-automation-apis)
Ranked **#12 of 14** on default weights.
| Field | Value | Confidence | Verified | Source | Note | Permalink |
| --- | --- | --- | --- | --- | --- | --- |
| Anti-bot pass rate | - | Unknown | - | - | Panel not yet run. Stock Playwright is trivially detectable; the baseline exists to show the gap. | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--antibot_success |
| Stealth mode | ○ | Inferred | - | - | Community patches exist but you own the maintenance forever. | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--stealth_mode |
| CAPTCHA solving | ○ | Inferred | - | - | - | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--captcha_solving |
| Residential proxy | byo-only | Inferred | - | - | Bring a proxy vendor and wire it yourself. | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--residential_proxy |
| Cold start | 2s | Inferred | - | - | Rough figure for launching Chromium in a warm container; entirely dependent on your image and host. | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--cold_start |
| CDP endpoint | ● | Inferred | - | - | It is your browser; the protocol is fully exposed. | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--cdp_endpoint |
| Playwright | ● | Inferred | - | - | - | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--playwright_support |
| Puppeteer | ● | Inferred | - | - | You are running the libraries directly, so both work. | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--puppeteer_support |
| Session persistence | ● | Inferred | - | - | Persistent contexts on your own disk, durable as long as you manage the volume. | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--session_persistence |
| Live view | ○ | Inferred | - | - | Trace Viewer is post-hoc; a live view is a project of its own. | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--live_view |
| Session replay | ● | Inferred | - | - | Trace Viewer and video recording are better than any hosted replay here. | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--session_replay |
| Max concurrency | - | Unknown | - | - | Whatever your cluster tolerates, roughly one browser per GB of RAM. | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--concurrency_ceiling |
| File downloads | ● | Inferred | - | - | - | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--file_downloads |
| Chrome extensions | ● | Inferred | - | - | - | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--extension_support |
| Browser regions | self-hosted | Inferred | - | - | Anywhere you can run a container, including ap-southeast-2, the only reliable way to get an AU browser. | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--regions |
| Agent API | ○ | Inferred | - | - | - | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--computer_use_api |
| MCP server | ● | Vendor-claimed | 2026-07-01 | https://github.com/microsoft/playwright-mcp | Microsoft's official Playwright MCP server runs locally. | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--mcp_server |
| Human handoff | ○ | Inferred | - | - | - | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--human_handoff |
| Pricing model | infrastructure | Inferred | - | - | - | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--pricing_model |
| Per browser-hour | $0.03/browser-hour | Inferred | - | - | Approximate cost of a 2 vCPU / 4 GB container on a commodity cloud. Excludes proxies, storage and your engineering time. | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--price_per_hour |
| Free tier | ● | Inferred | - | - | The software is free; the servers are not. | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--free_tier |
| GitHub stars | 73,000 | Inferred | - | - | microsoft/playwright, rounded. | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--github_stars |
| Funding stage | open-source | Inferred | - | - | - | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--funding_stage |
| Open-source core | ● | Vendor-claimed | 2026-07-01 | https://github.com/microsoft/playwright | - | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--open_source_core |
| Positioning | The reference point every hosted browser is priced against | Inferred | - | - | - | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--positioning |
| Launched | 2020 | Inferred | - | - | - | https://toolweight.com/compare/browser-automation-apis#playwright-self-hosted--launch_year |

**Verdict.** Cheapest on compute with the best debugging, and completely defenceless against modern bot detection.

## Alternatives

- [Airtop](https://toolweight.com/tools/airtop), Natural-language browser API, describe the page, skip the selectors
- [Anchor Browser](https://toolweight.com/tools/anchor-browser), Cloud browsers built around authenticated sessions and human takeover
- [Apify](https://toolweight.com/tools/apify), Actor platform for scraping and agents, with Crawlee as the open-source core
- [Bright Data Browser API](https://toolweight.com/tools/bright-data-browser-api), CDP browsers on a 70M+ residential IP network with challenge handling built in
- [Browser Use](https://toolweight.com/tools/browser-use), The open-source browser agent library, with stealth cloud browsers and a hosted agent API
- [Browserbase](https://toolweight.com/tools/browserbase), Managed headless browsers for AI agents, with Stagehand as the SDK
- [Browserless](https://toolweight.com/tools/browserless), Self-hostable headless Chrome service; BrowserQL for bot-heavy sites
- [Cloudflare Browser Rendering](https://toolweight.com/tools/cloudflare-browser-rendering), Puppeteer and Playwright bindings for Workers, plus REST render endpoints
- [Hyperbrowser](https://toolweight.com/tools/hyperbrowser), Agent-first browsers with hosted scrape, crawl and CUA endpoints
- [Kernel](https://toolweight.com/tools/kernel), Fast-starting browsers plus a runtime for deploying browser agents
- [ScrapingBee](https://toolweight.com/tools/scrapingbee), One-call HTML API with JavaScript rendering and premium proxy tiers
- [Steel.dev](https://toolweight.com/tools/steel-dev), Open-source browser API for AI agents, hosted or self-run

## Licence and attribution

Data from Toolweight (https://toolweight.com), licensed CC-BY-4.0.

- Licence: [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/)
- Canonical HTML: https://toolweight.com/tools/playwright-self-hosted
- Machine-readable: https://toolweight.com/tools/playwright-self-hosted.md · https://toolweight.com/api/v1 · https://toolweight.com/mcp
- Toolweight takes no affiliate revenue and sells no placements.
