click
Click on an element by its index from the browser state.int
required
Element index from
browser_state. Must be ≥ 1.Element at index 0 represents the entire page and cannot be clicked.int
Horizontal coordinate relative to viewport left edge (optional, for coordinate-based clicking)
int
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.int
required
Element index from
browser_state pointing to an input fieldstring
required
The text to type into the field
bool
default:"True"
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.bool
default:"True"
required
Direction to scroll.
True = scroll down, False = scroll upfloat
default:"1.0"
Number of pages to scroll.
0.5= half page1.0= full page10.0= scroll to bottom/top
int
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.string
required
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