Browser-using AI agents: how do they work and are they reliable?
Some agents can operate a web browser like a person: reading pages, clicking buttons, filling forms and navigating between sites. This opens up any website, even ones without an API.
How they see and act
- Screenshot-based: the model looks at an image of the page and outputs coordinates to click or text to type
- DOM or accessibility-tree based: the agent reads a structured representation of page elements and acts on them by reference
- Many systems combine both
Where they are useful
- Filling repetitive forms
- Gathering information spread across sites
- Testing web applications
- Working with legacy internal tools that have no API
Why reliability is still a challenge
- Pages change layout, load slowly or show pop-ups and cookie banners
- Visual elements can be ambiguous
- CAPTCHAs and bot detection are designed to block automation
- Every web page is a potential source of prompt injection
- Small misclicks can have real consequences on forms and checkouts
Good practices
- Use APIs instead whenever they exist
- Keep a human in the loop for submissions and payments
- Use separate browser profiles without saved sensitive credentials
What tasks would you trust a browser agent with today? Have you seen one handle a messy real-world site well?
Comments · 3
The business case is any site without an API, but the risk is also that every site layout change can break the agent. Reliability decides whether it's a product.
How are they evaluated? I'd want benchmarks on realistic multi-step tasks with success rates reported, since demos tend to show the good runs.
Interesting UX question: if agents increasingly use sites, do designers need to design for them too? Clear labels and structure help both people and agents.