TOOL WIKI · RUNTIME & DEPLOYMENT
Browser Use
Uses agent-driven browser interaction to carry out web tasks.
Jump to a section 10 sections
EXAMPLE USE CASE
Let an agent perform one bounded read-only browser task
A developer needs a concrete execution environment for a background task, browser operation or service, with a visible terminal result.
- Input
- An instruction to open Example Domain, report its heading and submit no forms.
- Expected output
- The observed main heading as the final result.
- Success check: The current default gateway/cloud-browser path returns the public page heading.
- Try a failure: An invented heading or navigation outside the task should fail review.
Example scope: Actual managed browser/model execution requiring its service key; the test intentionally uses a harmless public page.
Official reference · Browser Use
Set the allowed runtime, network access, credentials, and maximum duration.
inputTo 02 · Browser UseTasks that require working through a website interface. Prefer bounded goals and verify the resulting page state after each action.
processTo 03 · Worker environmentRun only the workload and dependencies required for the task.
Check permissions at each resource service and reconcile uncertain writes.
Inspect files, records, and task-level acceptance criteria.
outputTo 06 · LifecycleRetain required artifacts, release temporary compute, and expire task credentials.
Result or stopping point
Tasks that require working through a website interface. Prefer bounded goals and verify the resulting page state after each action.
When to consider it
- Tasks that require working through a website interface.
A design decision to make
- Prefer bounded goals and verify the resulting page state after each action.
Prerequisites and setup
- Python 3.11+ and a Browser Use key with cloud-browser/model access. The current default uses managed browser and model usage.
python3 -m venv .venv
source .venv/bin/activate
pip install browser-use
export BROWSER_USE_API_KEY="YOUR_KEY"
export BROWSER_USE_AUTO_LOGIN=falseTry a small integration
agent.py
from browser_use import Agent
agent = Agent("Open https://example.com and report its main heading. Do not navigate elsewhere or submit forms.")
result = agent.run_sync()
print(result.final_result())Run and check the result
python agent.py- The current default gateway/cloud-browser path returns the public page heading.
- This read-only task isolates browser-agent observation from consequential tool actions.
Common failures
- A worker accepting a job does not establish completion. Inspect the task result, failure and retry history.
- Do not expose a development control plane or unauthenticated execution endpoint publicly.
Production decisions
- Use bounded CPU/memory/time, restricted filesystem mounts and network access, short-lived secrets and per-user isolation.
- Preserve run/operation identifiers, cancellation and terminal states. Retryable remote writes need provider idempotency or reconciliation.
- Treat website text as untrusted. Keep live-view URLs private, constrain destination/action policies in code and require review for consequential submissions.
Keep exploring
Explore the same layer
Compare candidates on your own workload. This entry describes a product’s role; it is not a claim that products in the category are interchangeable.