agentic-browser-0-1-2
由 xyny89 提供
Web & Frontend Development简介
Browser automation for AI agents via inference.sh.
描述
该技能的功能
Browser automation for AI agents via inference.sh. Uses Playwright under the hood with an @e ref system that assigns short identifiers to interactive page elements. Supports clicking, form filling, drag-and-drop, file upload, JavaScript execution, screenshots, and video recording.
The @e ref system abstracts away CSS selectors and XPaths, making element targeting simpler to use in agent workflows without managing a local browser environment.
何时使用
- Auto-filling and submitting web forms on behalf of a user
- Scraping product prices or listings from e-commerce pages
- Recording browser sessions to debug UI regressions
- Logging into sites and extracting data from authenticated pages
- Running scripted browser workflows from the command line
示例工作流
User asks: search Google for 'weather today' and return the page snapshot
- 1
Open a new browser session at https://google.com
- 2
Receive @e refs for interactive elements including the search input
- 3
Fill the search input with 'weather today' and press Enter
- 4
Wait for results to load, then call snapshot to get fresh @e refs
- 5
Close the session and return the snapshot text
Page snapshot with element refs showing weather search results
前置要求
- inference.sh account
- inference.sh CLI (infsh) installed
安装
clawhub install xyny89/agentic-browser-0-1-2运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。