solve_captcha
Automate CAPTCHA solving and form completion for web automation and testing. Handles JavaScript widgets, image text, and interactive verification with intelligent field mapping and human-like input.
Instructions
Automate form completion and interactive widget verification on web pages. Supports JavaScript-based challenge widgets, image text transcription, and intelligent form field mapping for QA and automated browsing workflows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Text recognition language code: eng, hin, or eng+hin | eng |
| type | No | Widget type: js_widget (JavaScript-based embedded challenge widget), text (text transcription verification), image (image-based input), auto (detect automatically). | auto |
| iframe | No | Target a specific iframe by index | |
| submit | No | Submit the form after filling all fields | |
| aiMatch | No | Match form fields by semantic similarity even if names differ | |
| timeout | No | ||
| formData | No | Key-value pairs of form fields to fill (field names matched automatically to page inputs) | |
| humanLike | No | Type with variable keystroke delays | |
| maxRetries | No | Maximum refresh attempts before giving up | |
| allowedChars | No | Character set allowed in the answer | |
| analyzeFirst | No | Inspect page structure before filling fields | |
| formSelector | No | CSS selector for the form element (auto-detected if not provided) | |
| inputSelector | No | CSS selector for the answer input field | |
| expectedLength | No | Expected character length of the answer | |
| iframeSelector | No | Target a specific iframe by CSS selector | |
| widgetSelector | No | Alias for captchaSelector | |
| captchaSelector | No | CSS selector targeting the verification element, canvas, image, or interactive widget container | |
| refreshSelector | No | CSS selector for the reload/refresh button | |
| preferTextFallback | No | Return text-only guidance instead of an image when the model cannot process images |