An object containing task configuration (created with the Browser Automation widget).
browser task
Yes
(no default)
Output Concepts
Concept
Description
Type
visual log
A series of screenshots showing each step the browser took.
file
detailed plan
A text summary of the steps taken to automate the task.
text
result
The data extracted or produced by the agent upon completing the task.
any
browser run id
The identifier of the browser run.
text
browser files
A list of files generated by the agent upon completing the task.
file
Examples
Get the Weather in Philadelphia. Task instructions: "Search for the 'current weather in Philadelphia' and extract the temperature"
Get Laptop Prices from Amazon. Task instructions: "Go to www.Amazon.com and search for 'laptop.' Look at the first 5 product listings on the results page. For each product, copy the product name and its price. Show me the list of product names with their prices."
to provision a browser
Provision a new K8s browser instance for a web automation task.
Provision an AWS browser and get the reference to the browser instance:
to run a playwright script on a browser and get the result, the browser run id and the browser files
Execute a custom Playwright script on the provisioned browser.
Note: Before using this procedure, you must first "provision a browser". The script must: 1. Be stored in S3 2. Contain an async function: run(page, context, browser, params, llm=None) 3. Be accessible from the browser farm's AWS credentials
provision a browser
perform <the task> on the browser and get the visual log, the detailed plan, the result, the browser run id and the browser files
provision a browser
perform <the task> on the browser and get the visual log, the detailed plan, the result, the browser run id and the browser files
provision a browser
provision an aws browser
provision a browser
the script s3 uri is "s3://my-bucket/scripts/123456789/weather_search.py"
run the script s3 uri on the browser with parameters {"location": "San Francisco, CA"} and get the result, the browser run id and the browser files