DEV Community

BrowserAct
BrowserAct

Posted on

Two browser automation failures AI agents hit after the demo

Most AI-agent browser demos stop at the easy part: open a page, search for something, click a link, extract a result.

That proves the model can drive a browser. It does not prove the workflow is production-ready.

The failures usually show up one step later, when the agent has to operate like a real user inside a real account.

Failure 1: login is treated as a one-time setup

A lot of agent workflows assume login is already solved. In practice, it is where the real product work starts.

The agent may need to:

  • keep a browser session alive across runs
  • handle 2FA without exposing secrets to the model
  • wait for a human before a sensitive click
  • keep different customer or brand accounts isolated
  • preserve an audit trail of what happened in the browser

The mistake is to think the solution is "give the agent the password." That creates a security problem and still does not solve the browser problem.

A safer pattern is to treat login as browser state plus approval boundaries.

The browser keeps the session. The agent gets scoped access to the page. Sensitive actions go through explicit human handoff. 2FA becomes an expected part of the workflow instead of an exception that breaks the run.

That matters because many useful agent workflows are not anonymous scraping tasks. They are logged-in operational tasks: posting from a company account, checking dashboards, updating internal tools, approving workflows, or collecting data behind a user session.

Failure 2: infrastructure is mistaken for workflow reliability

Cloud browsers are useful. They give agents a browser environment that can run somewhere other than a developer laptop.

But for many teams, that is only the first layer.

The harder question is what happens around the browser:

  • Which account is this browser session using?
  • Can the session survive multiple runs?
  • Can a human take over when the site asks for verification?
  • Can the agent avoid destructive actions unless approved?
  • Can the same workflow run across several accounts without mixing identity?
  • Can the system explain what happened afterward?

This is why tool comparisons can get misleading. If you compare only browser infrastructure, you miss the operational layer where agents actually fail.

A useful framing is:

  • browser infrastructure opens and hosts the browser
  • browser workflow systems manage the login state, account identity, approvals, handoff, and repeatable tasks around that browser

For simple public-page browsing, infrastructure may be enough.

For logged-in, multi-account, human-in-the-loop workflows, the workflow layer matters more.

A practical production checklist

Before putting an AI agent in charge of browser actions, I would check five things.

1. Session ownership

Know which browser profile and account the agent is using. Do not let workflows silently reuse the wrong session.

2. Human handoff

Treat 2FA, CAPTCHA, payment, deletion, posting, and permission changes as approval points. The agent should be able to pause, ask for help, and continue.

3. Account isolation

If the same workflow runs across customers, brands, or social accounts, isolate browser state. Cookie leakage and account confusion are operational bugs.

4. Repeatability

A browser action should become a reusable workflow, not a one-off prompt. The more the agent has to rediscover selectors and page behavior every run, the more fragile and expensive it gets.

5. Auditability

You need to know what the agent clicked, what it saw, and when a human intervened. This is especially important when agents act inside logged-in tools.

Further reading

I wrote two deeper BrowserAct posts on this:

The short version: if your agent only needs a clean browser, browser infrastructure may be enough. If your agent needs to work inside real accounts with identity, approvals, and handoff, design the browser workflow layer first.

Top comments (0)