Overview
The Browser Use tool runs a browser automation task through the hosted Browser Use cloud API. Describe what the agent should do in plain language, and it navigates the web, fills forms, and extracts data for you. For the self-hosted variant that runs inside an E2B sandbox (with session reuse and screenshots), see Browser Use (Sandbox).Key Features
BROWSER_USE_RUN_TASK- Create a Browser Use task from a natural-language
taskdescription and, by default, wait for it to finish max_stepscaps the number of agent steps (default: 100)wait_for_completion(default:true) polls the task until it finishes; set it tofalseto return right after the task is createdtimeout_seconds(default: 300) bounds how long the step waits for completion
- Create a Browser Use task from a natural-language
Authentication
Set theapi_key config to a Browser Use API key (secret type BROWSER_USE). Leave it blank to run on Jinba Credit instead: the step then reserves credits according to max_steps (320 credits at the default of 100).
Note: Treat API keys as sensitive information and never commit them to public repositories.
Usage Examples
Example: Extract Data from a Website
Example: Start a Task Without Waiting
Notes
resultcontainstask_id,status,output(the agent’s final answer as text), andsteps— one entry per agent step withnumber,memory,evaluationPreviousGoal,nextGoal,url,screenshotUrl, andactions. Withwait_for_completion: false, onlytask_idandstatus: createdare returned.- Completion is polled every 3 seconds. A finished task reports
status: finishedorstatus: failed; iftimeout_secondselapses first, the step returnsstatus: timeouttogether with an error, so the task keeps running on the Browser Use side. - The
tasktext is masked for personal information according to your organization’s settings before it is sent to Browser Use.