Procedures
Automation procedures in the Browser Use book.
Ensure that you have installed or connected the Browser Use book and created a new playground before using these automation procedures.
to close a browser
Close a browser instance.
Input Concepts
Output Concepts
answer
None
boolean
Examples
Close a browser instance:
close the browserto perform a task on a browser and get the visual log, the detailed plan, the result, the browser run id and the browser files
Execute a browser-based web automation task.
Note: Before using this procedure, you must first "provision a browser" for your automation task.
Input Concepts
Output Concepts
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"
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 filesGet 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."
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 filesto provision a browser
Provision a new browser instance for a web automation task.
Output Concepts
Examples
Provision a browser and get the reference to the browser instance:
provision a browserLast updated
Was this helpful?
