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:
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
Navigation & Search
Form Interaction
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:Error Handling
Extracting Information
Use theextract action to pull data from pages:
Agent History Analysis
Speed Optimization
Flash Mode
Sacrifice some accuracy for 2-3x faster execution: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