- 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.
Encounter a block you can’t get past? Verified
supports it. Contact sales to learn more.
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. Afterbrowserbase-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.
- Node.js
- Python
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
c_turingtestpage_ctl00_maincontent_captcha1_CaptchaImage3
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
ctl00_MainContent_txtTuringText5
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 setsolveCaptchas to false in the browserSettings when creating a session.
- Node.js
- Python
Node.js
Related guides
Agent Identity
Understand identity and access for browser automation.
Browser observability
Inspect browser activity and diagnose failed runs.