browser-automation
Automate web browser interactions using natural language via CLI commands. Use when the user asks to browse websites, navigate web pages, extract data from websites, take screenshots, fill forms, click buttons, or interact with web applications.
- License 许可
- MIT
- 最近更新
- 2026-09-18
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- browser-automation
- metadata
- { "author": "sillyhippy.zo.computer", "compatibility": "Created for Zo Computer" }
- description
- Automate web browser interactions using natural language via CLI commands. Use when the user asks to browse websites, navigate web pages, extract data from websites, take screenshots, fill forms, click buttons, or interact with web applications.
02 资源文件 4
- 参考文档_meta.json137 B
- 参考文档EXAMPLES.md7.1 KB
- 参考文档REFERENCE.md13.1 KB
- 参考文档setup.json1.1 KB
03 SKILL.md 正文
Browser Automation
Automate browser interactions using the agent-browser CLI on Zo Computer.
Available Tool
The agent-browser CLI is installed at /usr/local/bin/agent-browser. It auto-detects Chrome or falls back to Edge.
Commands
agent-browser open <url> # Navigate to URL
agent-browser snapshot -i -c # Accessibility tree with @refs (primary way to read page)
agent-browser snapshot -c # Full tree with text content
agent-browser screenshot # Viewport screenshot, image returned inline
agent-browser click <@ref> # Click element by ref
agent-browser fill <@ref> <text> # Clear and type into field
agent-browser type <text> # Type at cursor
agent-browser press <key> # Enter, Tab, Escape, etc.
agent-browser select <@ref> <value> # Select dropdown value
agent-browser scroll down/up [px] # Scroll
agent-browser get text <@ref> # Get text of element
agent-browser eval <js> # Execute JavaScript
agent-browser wait --load networkidle # Wait for page load
agent-browser tab # List tabs
agent-browser tab new [url] # New tab
Workflow
agent-browser open <url>— Navigate to pageagent-browser snapshot -i -c— Read page content with element refs- Interact using
@refvalues from snapshot - Re-snapshot after changes to verify results
Login Flow
If the user mentions logging in or signing in:
agent-browser close
agent-browser --headed open <url>
This shows the browser window so the user can enter credentials. Wait for confirmation before continuing.
Best Practices
- Always navigate first before interacting
- Use snapshot to read page content — don't guess element refs
- Use screenshot when user wants to see the page visually
- Be specific in action descriptions
- Close browser when done:
agent-browser close - Stop and ask the user after 2-3 consecutive failures
Error Recovery
If navigation fails due to anti-bot protection, try alternative approach or ask user.
If element not found after page load, scroll down once then retry.
If buttons can't be clicked due to overlays, use keyboard: agent-browser press Tab then agent-browser press Enter.
Zo Browser Tools (Alternative)
Zo also has built-in browser tools that work through the app:
open_webpage(url)— Navigate to URLview_webpage()— Get current page content as markdown + screenshotuse_webpage(task)— Interact with the current page
Use agent-browser for efficiency on unauthenticated sites. Use Zo browser tools for authenticated sessions and when sites block the CLI browser.
04 同仓库更多 Skills
zopack
Export and import zo.space route setups as shareable .zopack.md files. Use when the user wants to package their zo.space routes for sharing, or when they receive a .zopack.md file to deploy. Triggers on "export my zo.space", "create a zopack", "import this zopack", or any mention of .zopack.md files.
zoho-mail-inbox
Full inbox management for Zoho Mail (info@justlegalsolutions.org) — list unread, mark all as read, delete by sender/keyword, search, send from aliases, list folders. Fully self-contained — zero setup needed.
weekly-meeting-reminder
Get an email every Sunday evening listing your meetings for the coming week.
Let Zo use your X (Twitter) account
zo-tools
Internal process tools for Zo and Hermes — local search, document processing, OCR, and embeddings. All services run on localhost, zero HTTP slots consumed.
ssh-setup
Sets up secure remote access to your Zo Computer so you can connect from anywhere