3 items
Connect your browser to AI agents through Browser4 MCP server and CLI. Enables AI-driven web testing, debugging, and automation. ## 📦 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 ```
rating_count is the Chrome Web Store ratings count, not a written-review count.