返回顶部
a

agent-browser智能浏览器代理

Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
93
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

agent-browser

Agent Browser Skill

Fast browser automation using accessibility tree snapshots with refs for deterministic element selection.

Why Use This Over Built-in Browser Tool

Use agent-browser when:

  • - Automating multi-step workflows
  • Need deterministic element selection
  • Performance is critical
  • Working with complex SPAs
  • Need session isolation

Use built-in browser tool when:

  • - Need screenshots/PDFs for analysis
  • Visual inspection required
  • Browser extension integration needed

Core Workflow

CODEBLOCK0

Key Commands

Navigation

CODEBLOCK1

Snapshot (Always use -i --json)

CODEBLOCK2

Interactions (Ref-based)

CODEBLOCK3

Get Information

CODEBLOCK4

Check State

CODEBLOCK5

Wait

CODEBLOCK6

Sessions (Isolated Browsers)

CODEBLOCK7

State Persistence

CODEBLOCK8

Screenshots & PDFs

CODEBLOCK9

Network Control

CODEBLOCK10

Cookies & Storage

CODEBLOCK11

Tabs & Frames

CODEBLOCK12

Snapshot Output Format

CODEBLOCK13

Best Practices

  1. 1. Always use -i flag - Focus on interactive elements
  2. Always use --json - Easier to parse
  3. Wait for stability - INLINECODE2
  4. Save auth state - Skip login flows with INLINECODE3
  5. Use sessions - Isolate different browser contexts
  6. Use --headed for debugging - See what's happening

Example: Search and Extract

CODEBLOCK14

Example: Multi-Session Testing

CODEBLOCK15

Installation

CODEBLOCK16

Credits

Skill created by Yossi Elkrief (@MaTriXy)

agent-browser CLI by Vercel Labs

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 agent-browser-clawdbot-20260401-1775905681 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 agent-browser-clawdbot-20260401-1775905681 技能

通过命令行安装

skillhub install agent-browser-clawdbot-20260401-1775905681

下载

⬇ 下载 agent-browser v1.0.0(免费)

文件大小: 2.67 KB | 发布时间: 2026-4-12 08:40

v1.0.0 最新 2026-4-12 08:40
Initial release of Agent Browser Skill for CLI-based browser automation.

- Enables AI agents to automate browsers with accessibility tree snapshots and ref-based element selection.
- Supports fast, deterministic multi-step workflows, including navigation, interaction, information extraction, and session isolation.
- Provides comprehensive commands for interaction (click, fill, type), state checks, waiting, session management, network control, cookies, tabs, frames, and state persistence.
- Optimized for complex SPAs and critical performance scenarios.
- Includes example workflows, best practices, and installation steps for quick setup.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部