NEWStandard createTask and in.php APIs. Change the address and you are connected.View API docs
GATESOLVER

Glossary

AI browser agent: a language model at the controls of a browser

An AI browser agent is a program in which a language model decides what to do on a web page (navigate, click, type, read) and a browser automation layer carries it out.

How these agents work

The loop is simple to describe. The agent receives a goal ("find the cheapest flight on these dates and note the price"). It looks at the current page, either as a screenshot, as an accessibility tree, as simplified HTML, or as a mix. The model chooses an action, the automation layer performs it with Playwright, CDP or a similar tool, and the new page state goes back to the model. This repeats until the goal is met or a step limit is reached.

Open source projects, framework add ons and products from model vendors all follow this pattern, differing mostly in how they represent the page and how much planning they do between steps. Because the field moves fast, treat any comparison as a snapshot and check current documentation.

Why agents meet so many challenges

From a website's point of view, an agent looks like automation, because it is. Several signals line up at once:

  • The browser is often headless or runs in a data center, with automation flags and a server IP (see headless browser detection).
  • Actions are fast and evenly spaced, or oddly slow while the model thinks, both unlike a person.
  • Agents visit login, search and signup forms, the exact places sites protect most.
  • Many agents share the same infrastructure, so their fingerprints cluster.

The result is a reCAPTCHA checkbox, a Turnstile widget or a full Cloudflare challenge page in the middle of a task, and a model that cannot get past it by clicking.

Why clicking does not work

A model can see the checkbox and click it, but the widget scores the whole session, not the click. When the score is low, an image grid follows, and vision models are inconsistent at those grids under time pressure. Repeated failures lower the session's standing further. Agents stuck in this loop waste steps and tokens (see CAPTCHA loops in agents).

Giving the agent a solving tool

The dependable fix is to treat the challenge as a tool call rather than a visual puzzle. Add a tool that reads the widget's site key from the DOM, sends it with the page URL to GateSolver, waits for the token and injects it. The model only decides when to call it ("a CAPTCHA is blocking the form"). For widget types:

What the agent seesTask to createWhat comes back
"I'm not a robot" checkboxreCAPTCHA v2A single use string the form reads from g-recaptcha-response
Cloudflare Turnstile boxCloudflare TurnstileA single use string the form reads from cf-turnstile-response
Full "checking your browser" pageCloudflare ChallengeA cf_clearance cookie bound to your proxy

Token tasks are polled every three seconds and charged only when solved. Frameworks expose tools differently; you can wire this one as a plain function, a LangChain tool, or an MCP tool you write yourself.

Scope and permission

Agents should act within what their operator is entitled to do: compare public prices, collect public listings, test your own site, fill forms on your own accounts. Mass account creation, posting spam and signing in to accounts that are not yours are outside acceptable use. Set step limits, log every action and keep a person in the loop for anything irreversible such as payments.

Common questions

How does an AI browser agent see a web page?

Through screenshots, the accessibility tree, simplified HTML or a mix, depending on the framework.

Why do AI agents get so many CAPTCHAs?

They combine automation flags, data center IPs, unusual timing and visits to protected forms, all of which raise bot scores.

Can a vision model solve reCAPTCHA by clicking?

Not reliably. The widget scores the whole session, and image grids that follow a low score are hard to pass consistently.

How should an agent handle a CAPTCHA?

Through a tool that reads the site key, gets a token from a solving API and injects it, called by the model when needed.

Should an agent complete payments on its own?

Keep a person in the loop for irreversible actions such as payments, and log every step the agent takes.

Keep reading