When to Use Browser Use
- Serverless functions (AWS Lambda, Vercel, Cloudflare Workers)
- CI/CD automation
- Docker containers without display
- Distributed scraping and testing
- Quick prototyping without local browser setup
Prerequisites
- Browser Use account (sign up)
- API key from Browser Use Dashboard
Free credits are available to get started, with pay-as-you-go pricing after.
Setup
1
Get your API key
- Visit the Browser Use Dashboard
- Create a new API key
- Copy the key (it won’t be shown again)
2
Set environment variable
Usage
Via CLI Flag
Use the-p browseruse flag:
Via Environment Variable
Set the provider globally:Features
All standard agent-browser commands work with Browser Use:- Navigation:
open,back,forward,reload - Snapshots:
snapshot,snapshot -i,snapshot --json - Interactions:
click,fill,type,press,hover - Screenshots:
screenshot,screenshot --full,screenshot --annotate - State:
state save,state load,cookies,storage - Waiting:
wait,wait --load,wait --url - Network:
network route,network requests
Environment Variables
| Variable | Description | Required |
|---|---|---|
AGENT_BROWSER_PROVIDER | Set to browseruse | Yes (or use -p flag) |
BROWSER_USE_API_KEY | Your Browser Use API key | Yes |
Example: Serverless Function
Example: Docker Container
Example: CI/CD Testing
Example: Quick Prototyping
Performance
Browser Use cloud sessions start quickly and scale automatically. No need to manage browser installations or updates.Pricing
- Free tier available for testing
- Pay-as-you-go pricing based on session time
- Check current rates at browser-use.com/pricing