Connect your browser to AI agents through Browser4 MCP server and CLI. Enables AI-driven web testing, debugging, and automation.
Users
17
+8 in 30 days
Rating
4.0 / 5
+4.00 in 30 days
Ratings
1
+1 in 30 days
Store rank
#164K
#137K among extensions
Version
0.2.2
updated 10 Sep 2026
Users
monthly, 2 months
Latest, 21 Oct 2026:17 usersMove the mouse over the chart for any month
Ratings count
monthly, 2 months
Latest, 21 Oct 2026:1 ratingsMove the mouse over the chart for any month
The Chrome Web Store rounds user counts down to the leading digit, so the user line moves in steps. The ratings count is exact and is the better signal of real adoption.
About Browser4 Extension
## 📦 Installation
Manually installation is optional since your AI agent is smart enough to install it after reading the SKILL.
手动安装是可选的,因为智能体足够聪明,可以帮你安装。
Install browser4-cli globally using npm (requires Node.js):
```shell
npm install -g browser4-cli
browser4-cli install
```
Or bootstrap the native binary directly with a single command:
**Windows (PowerShell):**
```powershell
irm https://browser4.oss-cn-beijing.aliyuncs.com/scripts/install-browser4-cli.ps1 | iex
browser4-cli install
```
**Linux / macOS (bash):**
```bash
curl -fsSL https://browser4.oss-cn-beijing.aliyuncs.com/scripts/install-browser4-cli.sh | bash
browser4-cli install
```
## 💡 CLI Guide for Humans
`browser4-cli` is a human-usable browser automation shell, not just an agent backend. You can drive a real browser, inspect state, extract structured data, run X-SQL, orchestrate crawl/swarm jobs, manage server plugins and skills, and hand long-running work to built-in AI features.
If you want the embedded agent-facing instructions, see [skills/browser4-cli/SKILL.md](skills/browser4-cli/SKILL.md). This section is the human reference.
### Quick start
```bash
# Open a browser session
browser4-cli open --headed https://browser4.io
# Inspect the page and get element refs
browser4-cli snapshot --boxes
# Interact using a ref from the snapshot
browser4-cli click e15
browser4-cli fill e16 "Browser4" --submit
# Extract data from the live page
browser4-cli get text "h1"
# Capture a static DOM snapshot for repeated extraction
browser4-cli htmlsnapshot
browser4-cli htmlsnapshot get text "#main-content"
browser4-cli htmlsnapshot query --sql @query.sql
# Save output
browser4-cli screenshot --full-page --filename page.png
browser4-cli pdf --filename page.pdf
```