CDP API
Overview
Captcha Solver Features
Feature Overview
Supported CAPTCHA Types
Event Monitoring Mechanism
Core Events
Event Name | Description |
---|---|
Captcha.detected | CAPTCHA detected |
Captcha.solveFinished | CAPTCHA solved |
Captcha.solveFailed | CAPTCHA solve failed |
Field | Type | Description |
---|---|---|
type | string | CAPTCHA type: recaptcha turnstile |
success | boolean | Solution result |
message | string | Status message: "NOT_DETECTED" "SOLVE_FINISHED" "SOLVE_FAILED" "INVALID" |
token? | string | Token returned on success (optional) |
Implementation Examples
Node.js (Puppeteer)
Python (Playwright)
Advanced Configuration API
API Name | Description |
---|---|
Captcha.setAutoSolve | Control automatic CAPTCHA solving behavior |
Captcha.setToken | Set authentication token for CAPTCHA service |
Captcha.setConfig | Configure all CAPTCHA solver parameters |
Captcha.solve | Manually trigger CAPTCHA solving process |
Detailed API Description
1. Captcha.setAutoSolve
Node.js (Puppeteer)
Python (Playwright)
2. Captcha.setToken
Node.js (Puppeteer)
Python (Playwright)
3. Captcha.setConfig
Node.js (Puppeteer)
Python (Playwright)
4. Captcha.solve
Node.js (Puppeteer)
Python (Playwright)
5. Agent.click
Node.js (Puppeteer)
Python (Playwright)
Modified at 2025-05-14 10:24:20