agent-browser

仓库创建 2025年12月3日最近提交 3 小时前SkillHot 收录 20 天前
▸ 精选理由

指令化操作网页,适合自动化测试与信息抓取流程。

▸ 风险提示

会访问外部网站,可能触发远程请求或自动化误操作

这个 Skill 做什么

通过 CLI 控制浏览器执行页面导航、交互、截图与数据提取任务。

用命令行驱动浏览器去打开 URL、点击、填表、截屏和从页面提取数据,适合做网页自动化测试、批量填表或抓取内容。常在需要模拟真实用户操作、验证页面交互或生成页面快照时用到。特别之处是能把页面元素做成可引用的 ref(snapshot),你可以直接用 ref 去 click 或 fill,调试和脚本化都很方便。

▸ 展开 SKILL.md 英文原文

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

自动化集成浏览器自动化表单填写数据抓取通用
6.7w
Stars
5.4k
Forks
40
仓库内 Skill
+1.6k
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/packages/omo-opencode/src/features/builtin-skills/agent-browser/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/packages/omo-opencode/src/features/builtin-skills/agent-browser/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Browser Automation with agent-browser

## Quick start

```bash
agent-browser open <url>        # Navigate to page
agent-browser snapshot -i       # Get interactive elements with refs
agent-browser click @e1         # Click element by ref
agent-browser fill @e2 "text"   # Fill input by ref
agent-browser close             # Close browser
```

## Core workflow

1. Navigate: `agent-browser open <url>`
2. Snapshot: `agent-browser snapshot -i` (returns elements with refs like `@e1`, `@e2`)
3. Interact using refs from the snapshot
4. Re-snapshot after navigation or significant DOM changes

## Commands

### Navigation
```bash
agent-browser open <url>      # Navigate to URL (aliases: goto, navigate
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有