Solve CAPTCHA
solve_captchaAutomatically detect and solve visible CAPTCHAs (Turnstile, reCAPTCHA, hCaptcha, DataDome, FriendlyCaptcha) on the current page via CDP interaction, enabling uninterrupted browser automation.
Instructions
Attempts a SeleniumBase CDP interaction (click or drag/drop) to solve detectable CAPTCHAs on the current page.
Supported CAPTCHAs:
CF Turnstile, reCAPTCHA, hCaptcha, DataDome Slider, FriendlyCaptcha
Tool workflow:
Inspect page structure (e.g., via
get_content) to verify that a CAPTCHA is present.Call
solve_captchaif there's a CAPTCHA. (No-op if no CAPTCHA.)Verify success via
get_page_info,get_content, ormanage_cookies.
Notes: This tool does not guarantee that the CAPTCHA gets solved. A successful attempt may result in changes to page state and cookies.
Tool Selection:
Use
solve_captchaspecifically for automated CAPTCHA widget interactions.Use
click_elementfor standard visible elements.Use
hover_action(action="hover_and_click") to reveal and click targets.
Returns: A confirmation message indicating that the attempt was initiated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |