Script Automation
Script Automation allows you to automate browsers with natural language and code!
Script Automation lets you do anything a web browser can do, offering a powerful framework for building browser automations that are repeatable, customizable, and maintainable. By combining AI agents, AI tools, and standard Playwright functionality, Script Automation gives you full control over the complexity and behavior of your automations—whether simple or highly advanced.
To use Script Automation in your BrowserAI tasks, just set the engine
parameter to Script Automation
and provide your instructions using a mix of human language inside TypeScript functions.
With intuitive methods like page.act()
for executing natural language actions, page.extract()
for pulling structured data from pages, and page.observe()
for previewing actions before execution, Script Automation makes it easy to build intelligent, flexible browser workflows.
Examples:
Extract the title of medium.com
Extract three prices of AirPods Pro 2 from Amazon
Extract the latest article from browser.ai