Files

1.1 KiB

name, description, allowed-tools
name description allowed-tools
agent-browser 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. Bash(agent-browser:*)

Browser Automation with agent-browser

Quick start

agent-browser open # 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
  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 # 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