Skip to main content

Solving CAPTCHAs

CAPTCHAs are a common roadblock in automation. BrowserQL includes built-in support for CAPTCHA challenges. BQL will automatically detect and interacts with CAPTCHAs, even those embedded in iframes or shadow DOMs. You can use the following mutations:

Verify

The Verify mutation clicks a verification button to assert human-like interaction. This mutation can be used to to surpass cloudflare's human verification step.

    mutation Verify {
goto(url: "https://protected.domain") {
status
}

verify(type: cloudflare) {
found
solved
time
}
}

Solve

The Solve mutation solves a captcha, specified by the "type" of captcha to solve. Currently, BQL can solve both hCaptcha and reCAPTCHA types.

mutation SolveCaptcha {
goto(url: "https://protected.domain") {
status
}

solve(type: hcaptcha) {
found
solved
time
}
}