Requires an active subscription. Returns the task ID that can be used to track progress.
Creates a new browser automation task and returns the task ID that can be used to track progress.
Instructions for what the agent should do. You can try it out at https://cloud.browser-use.com/
Dictionary of secrets to be used by the agent. Secrets are safely encrypted before storing in the database.
List of domains that the agent is allowed to visit. If not set, the agent will be allowed to visit all domains (not recommended if you are using secrets).
If set to True, the browser cookies and other data will be saved. Cookies are safely encrypted before storing in the database.
If set, the agent will use this JSON schema as the output model (see example here: https://docs.browser-use.com/cloud/implementation#structured-output-example).
LLM model to use. Available options:
If set to True, the agent will use an adblocker.
If set to True, the agent will use a (mobile) proxy. Note that proxy is required for captcha solving, so if you disable proxy, you will not be able to solve captchas.
Country code for residential proxy. Must be one of: ‘us’, ‘fr’, ‘it’, ‘jp’, ‘au’, ‘de’, ‘fi’, ‘ca’. Default is ‘us’.
If set to True, the agent will highlight the elements on the page.
File names to include in the task (note: use uploads/presigned-url endpoint to upload the files first!). E.g. [‘file1.txt’, ‘file2.csv’]
Width of the browser viewport in pixels. Default is 1280.
Height of the browser viewport in pixels. Default is 960.
Maximum number of agent steps to take. Default is 75. Maximum is 200.
If set to True, enables public sharing of the task execution. When enabled, a public_share_url will be generated that allows others to view the task results without authentication.
The unique identifier for the created task.