Files
NASOpenClawRunTime/skills/agent-browser/SKILL.md

28 lines
1.1 KiB
Markdown

---
name: agent-browser
description: 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.
allowed-tools: Bash(agent-browser:*)
---
# Browser Automation with agent-browser
## Quick start
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
3. Interact using refs from the snapshot
4. Re-snapshot after navigation or significant DOM changes
## Commands
- agent-browser open <url> # Navigate to URL
- agent-browser snapshot -i # Interactive elements only
- agent-browser click @e1 # Click element
- agent-browser fill @e2 "text" # Fill input
- agent-browser screenshot # Take screenshot