| name | agent-browser-interact |
| version | 1.0.0 |
| description | Browser interaction commands: clicking, typing, filling forms, selecting
options, scrolling, dragging, file uploads, and raw mouse/keyboard input.
|
| allowed-tools | ["Bash","Read"] |
Agent Browser: Interaction
Click, type, fill forms, scroll, drag, and control mouse/keyboard.
Click & Focus
agent-browser click <sel>
agent-browser click <sel> --new-tab
agent-browser dblclick <sel>
agent-browser focus <sel>
agent-browser hover <sel>
Text Input
agent-browser type <sel> <text>
agent-browser fill <sel> <text>
agent-browser keyboard type <text>
agent-browser keyboard inserttext <text>
Key Presses
agent-browser press <key>
agent-browser keydown <key>
agent-browser keyup <key>
Key names: Enter, Tab, Escape, ArrowDown, Control+a, Meta+c, etc.
Form Controls
agent-browser select <sel> <val>
agent-browser check <sel>
agent-browser uncheck <sel>
Scrolling
agent-browser scroll <dir> [px]
agent-browser scrollintoview <sel>
Drag & Drop
agent-browser drag <src> <tgt>
File Upload
agent-browser upload <sel> <files>
Raw Mouse Control
agent-browser mouse move <x> <y>
agent-browser mouse down [button]
agent-browser mouse up [button]
agent-browser mouse wheel <dy> [dx]
Guidelines
- Use
fill to replace input content; use type to append
- Selectors can be CSS selectors or text-based (see agent-browser-query find commands)
- For complex key combos, use
press with modifier notation: Control+Shift+k
- Mouse coordinates are relative to the viewport