Interaction actions allow the agent to manipulate page elements like a human user.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/browser-use/browser-use/llms.txt
Use this file to discover all available pages before exploring further.
click
Click on an element by its index from the browser state.Element index from
browser_state. Must be ≥ 1.Element at index 0 represents the entire page and cannot be clicked.Horizontal coordinate relative to viewport left edge (optional, for coordinate-based clicking)
Vertical coordinate relative to viewport top edge (optional, for coordinate-based clicking)
Example
The agent automatically detects new tabs opened by clicks and provides information about them.
browser_use.tools.service:566 (index-based), browser_use.tools.service:521 (coordinate-based)
input
Type text into an input field.Element index from
browser_state pointing to an input fieldThe text to type into the field
Whether to clear the field before typing. Set to
False to append text.Example
browser_use.tools.service:639
scroll
Scroll the page or a specific element up or down.Direction to scroll.
True = scroll down, False = scroll upNumber of pages to scroll.
0.5= half page1.0= full page10.0= scroll to bottom/top
Optional element index to scroll within a specific element (e.g., dropdowns, custom scrollable containers)
Example
Viewport height is automatically detected for accurate scrolling. Multi-page scrolls execute sequentially to ensure each completes.
browser_use.tools.service:1241
send_keys
Send special keyboard keys or shortcuts to the page.Keys to send. Can be:
- Special keys:
Escape,Enter,Tab,PageDown,PageUp,ArrowDown,ArrowUp,ArrowLeft,ArrowRight - Key combinations:
Control+c,Control+v,Control+a - Or any other keyboard input
Example
browser_use.tools.service:1346
Related Actions
- Navigation Actions - Navigate between pages
- File Actions - Upload and manage files