@browserless.io/browserless

中文文档
2.60.0发布于 2026/11/06SSPLTypeScriptES Module构建来源已验证近 30 天下载 1.3万

The browserless platform

原始使用文档
文档目录17 节
  1. Deploy headless browsers in Docker. Run on our cloud or bri…
  2. 📋 Table of Contents
  3. 🚀 Get Started in Seconds!
  4. Step 1: Run the Docker image
  5. Step 2: Open the docs in your browser
  6. Step 3: Connect your script with Puppeteer or Playwright
  7. Output:
  8. ✨ Features
  9. General Features
  10. Premium Features
  11. 🚢 Customisable Deployment Options
  12. 🔓 Open Source (Self-Hosted)
  13. 🏢 Enterprise Docker (Self-Hosted)
  14. ☁️ Cloud (Self-Serve)
  15. 🔒 Private Deployment
  16. 💡 Why Browserless?
  17. 📜 Licensing
Browserless logo

Deploy headless browsers in Docker. Run on our cloud or bring your own.

Try on Cloud    Run Locally    Developer Docs

browserless%2Fbrowserless | Trendshift

Docker pulls GitHub stars Version Status


📋 Table of Contents

🚀 Get Started in Seconds!

Get up and running in three simple steps:

Step 1: Run the Docker image

docker run -p 3000:3000 ghcr.io/browserless/chromium

Step 2: Open the docs in your browser

Visit http://localhost:3000/docs

✅ Success! Your browser service is live at ws://localhost:3000

Step 3: Connect your script with Puppeteer or Playwright

📘 Puppeteer Example
import puppeteer from 'puppeteer-core';

const browser = await puppeteer.connect({
  browserWSEndpoint: 'ws://localhost:3000',
});

const page = await browser.newPage();
await page.goto('https://example.com');
console.log(await page.title());
await browser.close();
🎭 Playwright Example
import pw from 'playwright-core';

const browser = await pw.firefox.connect(
  'ws://localhost:3000/firefox/playwright',
);

const page = await browser.newPage();
await page.goto('https://example.com');
console.log(await page.title());
await browser.close();

Note: Use ghcr.io/browserless/firefox or ghcr.io/browserless/multi for Firefox/Webkit support.


Output:

Example Domain

✨ Features

General Features

  • Parallelism and queueing — Handle multiple sessions with configurable concurrency limits
  • Debug Viewer — Actively view and debug running browser sessions in real-time
  • Unforked libraries — Works seamlessly with standard Puppeteer and Playwright
  • Fonts & emoji — All system fonts and emoji support out-of-the-box
  • Configurable timeouts — Set session timers and health-checks to keep things running smoothly
  • Error tolerant — If Chrome crashes, Browserless won't
  • ARM64 architecture support — Full support for ARM64 platforms including Apple Silicon; some browsers (Edge, Chrome) have limited ARM64 compatibility

Premium Features

Our Self-serve cloud and Enterprise offerings include all the general features plus extras, such as:

  • BrowserQL for avoiding detectors and solving captchas
  • Hybrid automations for streaming live browser sessions during scripts
  • Persistent Sessions for persisting browser state (cookies, cache, localStorage) across multiple sessions with configurable data retention up to 90 days
  • Session Replay for recording and debugging browser sessions with event capture and video playback
  • Chrome Extensions Support for loading custom extensions including ad blockers, captcha solvers, etc.
  • Advanced Captcha/Stealth Routes for enhanced anti-detection with Captcha solving, fingerprint randomization, and residential proxy rotation
  • REST APIs for tasks such as retrieving HTML, PDFs or Screenshot etc.
  • Inbuilt residential proxy for automatic IP rotation and geo-targeting with residential proxy networks
  • /smart-scrape API for intelligently scraping any URL using cascading strategies (HTTP fetch, proxy, headless browser, captcha solving)
  • /crawl API for asynchronously crawling entire websites and scraping every discovered page into structured, LLM-ready data
  • /map API for discovering all URLs on a website via sitemaps and link extraction, with search-based relevance ranking
  • /search API for searching the web and optionally scraping each result page into structured formats (markdown, HTML, links, or screenshots)
  • MCP Server for connecting AI assistants (Claude Desktop, Cursor, VS Code, Windsurf) directly to Browserless browser automation
  • Webhook Integrations for queue alerts, rejections, timeouts, errors, and health failures

🚢 Customisable Deployment Options

Select the deployment model that best fits your needs:

🔓 Open Source (Self-Hosted)

Free, self-hosted solution with core browser automation capabilities.

Best for: Testing, development, and small projects

↓ Quickstart above

🏢 Enterprise Docker (Self-Hosted)

Full Enterprise features in a self-hosted container.

Best for: Production workloads requiring data sovereignty

→ Learn More

☁️ Cloud (Self-Serve)

Fully managed, pay-as-you-go service with automatic scaling.

Best for: Quick starts and rapid prototyping

→ Start Free

🔒 Private Deployment

Custom Enterprise infrastructure across major cloud providers.

Best for: Large-scale enterprise deployments

→ Contact Sales

Want to dive deeper? Check out this detailed guide for advanced stuff including Docker configuration, hosting providers, SDK extensions, and more.

💡 Why Browserless?

Running Chrome in the cloud or CI sucks.

Missing fonts. Random crashes. Dependency hell. Lambda limits. You know the drill.

Browserless solves this by handling browsers as a managed service — locally or in our cloud — so you can focus on automation, not infrastructure. We've taken care of the hard parts: system packages, font libraries, security patches, scaling strategies, and CVEs.

You still own your script. You still control your code. We just make sure the Browser runs smoothly, every time.

📜 Licensing

SPDX-License-Identifier: SSPL-1.0 OR Browserless Commercial License.

If you want to use Browserless to build commercial sites, applications, or in a continuous-integration system that's closed-source then you'll need to purchase a commercial license. This allows you to keep your software proprietary whilst still using browserless. You can purchase a commercial license here. A commercial license grants you:

  • Priority support on issues and features.
  • On-premise running as well as running on public cloud providers for commercial/CI purposes for proprietary systems.
  • Ability to modify the source (forking) for your own purposes.
  • A new admin user-interface.

Not only does it grant you a license to run such a critical piece of infrastructure, but you are also supporting further innovation in this space and our ability to contribute to it.

If you are creating an open source application under a license compatible with the Server Side License 1.0, you may use Browserless under those terms.

Happy hacking!

Need help? Reach out to us at [email protected]

版本与发布记录

@browserless.io/browserless 共发布 174 个版本,首次发布于 2023/12/19;过去 12 个月发布了 52 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
2.60.0latest2026/11/062 天前
2.59.02026/11/044 天前
2.58.32026/11/035 天前
2.58.22026/11/026 天前
2.58.12026/10/309 天前
2.58.02026/10/2910 天前

其他发布通道:beta → 2.39.0-beta-1。

关于 @browserless.io/browserless 的常见问题

@browserless.io/browserless 是什么?

The browserless platform

如何安装 @browserless.io/browserless?

在项目目录运行 npm install @browserless.io/browserless,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 browserless,可以用 npx browserless 直接运行。

@browserless.io/browserless 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@browserless.io/browserless 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@browserless.io/browserless 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=24。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@browserless.io/browserless 可以商用吗?

@browserless.io/browserless 使用 SSPL 许可。声明的许可为 SSPL,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。

@browserless.io/browserless 的下载量有多少?

根据 npm 官方下载统计,@browserless.io/browserless 在 2026/10/09 – 2026/11/07 这 30 天内被下载 12,874 次,日均约 429 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@browserless.io/browserless 还在维护吗?

最新版本 2.60.0 发布于 2026/11/06(2 天前);至今共发布 174 个版本,其中过去 12 个月发布了 52 个;首次发布于 2023/12/19。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。