Skip to main content
Browserbase enables CAPTCHA solving by default for all sessions. How it works
  • Expect CAPTCHA solving to take up to 30 seconds, depending on the challenge type.
  • Pairing with proxies improves success rates.
  • For non-standard CAPTCHAs, you can provide custom selectors to guide the process.
Use CAPTCHA solving only for workflows that users and website owners authorize. Follow the site’s terms, respect access controls, and use supported integrations when available.
Encounter a block you can’t get past? Verified supports it. Contact sales to learn more.
To disable CAPTCHA solving, set solveCaptchas to false in browserSettings when creating a session.

CAPTCHA solving events

Browserbase emits console logs when it starts, finishes, or fails to solve a CAPTCHA. Register your listener before navigation or a click that could trigger a challenge, so you don’t miss the events. For agent loops, hold further browser actions and human handoff while solving is in progress. After browserbase-solving-finished, verify that the expected page or element is accessible. After browserbase-solving-errored, keep watching for a new browserbase-solving-started within the original timeout: the site may trigger another challenge. Ask for human help only when no solve is active and the page remains blocked after a bounded readiness check. If the overall timeout expires during an active solve, report that state to your application rather than handing off the page. See Wait for CAPTCHA solves for copyable agent prompts, waiting behavior, and troubleshooting. The examples below collect events; they do not pause your agent automatically.

Custom CAPTCHA solving

If you encounter a non-standard, or custom CAPTCHA provider, you need to specify the explicit selector for the CAPTCHA image and button itself. For this custom CAPTCHA provider, you’ll need to specify two CSS selectors:
1

The selector for the CAPTCHA image element

2

Right-click on the CAPTCHA image and select 'Inspect' then pull the 'id' from the HTML source code of the image

The id in this example is c_turingtestpage_ctl00_maincontent_captcha1_CaptchaImage
3

The selector for the input field where the solution should be entered

4

Right-click on the input field and select 'Inspect' then pull the 'id' from the HTML source code of the input field

The id in this example is ctl00_MainContent_txtTuringText
5

Configure your browser settings with these selectors

Node.js

Disabling CAPTCHA solving

CAPTCHA solving typically takes between 5 and 30 seconds. If you’d like to disable captcha solving, you can set solveCaptchas to false in the browserSettings when creating a session.
Node.js

Agent Identity

Understand identity and access for browser automation.

Browser observability

Inspect browser activity and diagnose failed runs.