Solving Captchas in Browser Automation Studio
How captcha solving works in BAS — connecting solving services, handling image, reCAPTCHA and hCaptcha, and building a reliable solve-verify-retry loop.
Sooner or later a target site puts a captcha in front of the action you’re automating. BAS doesn’t break captchas on its own — instead it connects to a solving service that returns the answer, which your bot then submits. Understanding that division of labor is the whole game.
How captcha solving works in BAS
The flow is always the same three steps:
- Detect the captcha on the page.
- Send it to a solving service via your API key.
- Inject the returned answer and continue.
The service does the actual solving — either with human workers or AI models. Your bot’s job is to recognise the captcha, pass the right data, and apply the result correctly.
Connecting a solving service
Sign up with a service like 2Captcha/ruCaptcha, Anti-Captcha or CapMonster, top up a small balance, and copy your API key. In BAS you set this key once, then the captcha-solving action uses it for every request. Keep an eye on the balance — an empty account silently turns every solve into a failure.
Image captchas
The simplest case. Capture the captcha image (a screenshot of the element or its source), send it to the service, and type the returned text into the answer field. Most of the reliability work here is just getting a clean image of the right element.
reCAPTCHA and hCaptcha
These are token-based, not text-based. You don’t type an answer — the service returns a token that you place into the page’s hidden response field (for reCAPTCHA, the g-recaptcha-response), then submit. BAS’s solving action handles the round-trip; your part is supplying the site key and the page URL the service needs.
Build a solve-verify-retry loop
Solving services aren’t 100% reliable, so never assume the first answer worked:
- Verify after submitting — did the page advance, or did the captcha reappear?
- Retry on failure, requesting a fresh solve rather than reusing the bad one.
- Cap retries (e.g. three attempts) so a hard-blocked page doesn’t loop forever and drain your balance.
Keep cost and speed in mind
Each solve costs money and adds several seconds. Across thousands of runs that adds up, so only invoke solving when a captcha is actually present — detect first, solve second. A well-warmed account with a clean fingerprint and good proxies often sees fewer captchas in the first place, which ties directly into the fingerprint article in this guide.
FAQ
Which captcha service works with BAS?
BAS integrates with the common solving services such as 2Captcha/ruCaptcha, Anti-Captcha and CapMonster. You add your API key once and call the solve action, which sends the captcha to the service and returns the answer.
Does BAS solve reCAPTCHA automatically?
BAS does not crack captchas itself. It hands them to a solving service (human or AI based) that returns a token, which the bot then injects into the page. For reCAPTCHA this means submitting the returned g-recaptcha-response token.
- Browser Automation Studio: The Complete Practical GuideGuide
- Building Your First Bot in Browser Automation StudioA step-by-step walkthrough of creating your first working BAS bot — from a blank project to a flow that navigates, extracts data, and runs in multiple threads.
- Setting Up Proxies in Browser Automation StudioHow to configure proxies in BAS the right way — proxy types, per-thread assignment, rotation, and the checks that keep multi-account bots from getting flagged.
- Finding Elements in BAS: Selectors That Don't BreakHow element search works in Browser Automation Studio — CSS vs XPath selectors, why recorded ones break, and how to write selectors that survive page changes.