Skip to main content

Getting Started

Browser Use makes web automation simple with an AI-powered agent that understands natural language tasks. This guide covers essential patterns for everyday automation.

Your First Agent

1

Create a Simple Task

Start with a basic agent that performs web searches:
We recommend using ChatBrowserUse - it’s optimized for browser automation with the highest accuracy, fastest speed, and lowest token cost.
2

Understand the Results

The agent returns an AgentHistoryList with complete execution details:
3

Configure Basic Options

Control agent behavior with simple parameters:

Common Task Patterns

Form Interaction

Be specific about form fields. Reference them by their labels or placeholder text for best results.

Working with Tabs

Browser Configuration

Visible Browser

Watch the agent work in real-time:

Custom Browser Settings

Initial Actions

Set up the browser state before the agent starts:
Initial actions run without LLM - they execute deterministically before the agent takes control.

Error Handling

Extracting Information

Use the extract action to pull data from pages:
Explicitly mention “use extract action” in your task for best results. See the Data Extraction guide for advanced patterns.

Agent History Analysis

Speed Optimization

Flash Mode

Sacrifice some accuracy for 2-3x faster execution:
Flash mode disables the agent’s internal reasoning process. Use for simple, repetitive tasks only.

Vision Control

Sync vs Async

Next Steps

Custom Tools

Extend agent capabilities with custom functions

Data Extraction

Master advanced data extraction patterns

Authentication

Handle logins and session management

Production

Deploy to production with @sandbox