Browser agent
A browser agent is an LLM-driven system that controls a real or headless web browser to navigate sites, fill forms, click, and extract data — automating tasks that require interacting with web UIs.
In more detail
What it means
Browser agents emerged as a serious category in 2025-2026 with Anthropic Computer Use, OpenAI Operator, Browser Use (open source), Cline browser tools, and many others. The model receives screenshots or DOM, decides on the next action (click coordinates, type text, navigate), and the harness executes it. Use cases include scraping behind login walls, automating QA, filling SaaS dashboards, and consumer-task automation (booking, shopping). Production challenges: long horizons, brittle selectors, captchas, prompt injection from page content, and cost (every step is a vision + reasoning call). Best practice in 2026 is to scope agents tightly and combine browser actions with traditional APIs whenever a direct API exists.
Part 1 of 2
When to use it, and when not
Use it for
- Automating workflows behind logins or paywalls without APIs.
- QA + visual regression on web apps.
- Bridging legacy SaaS dashboards into automation pipelines.
Part 2 of 2
Common mistakes
- Letting the agent click freely on sensitive pages — sandbox actions.
- No max-step cap — costs blow up on long-horizon tasks.
- Trusting page content as instructions — prompt injection via web pages is the dominant attack.
FAQ
Questions readers ask.
What is browser agent?
A browser agent is an LLM-driven system that controls a real or headless web browser to navigate sites, fill forms, click, and extract data — automating tasks that require interacting with web UIs.
When should you use browser agent?
Automating workflows behind logins or paywalls without APIs. QA + visual regression on web apps. Bridging legacy SaaS dashboards into automation pipelines.
What are the common mistakes with browser agent?
Letting the agent click freely on sensitive pages — sandbox actions. No max-step cap — costs blow up on long-horizon tasks. Trusting page content as instructions — prompt injection via web pages is the dominant attack.
Last updated: 2026-06-01. Raw markdown: https://promtable.com/glossary/browser-agent.md. Found a mistake? Tell us.