Skip to content

Latest commit

 

History

History
69 lines (54 loc) · 2.55 KB

File metadata and controls

69 lines (54 loc) · 2.55 KB

Overview

CaptchaAI Workflow Doctor is a runnable diagnostic for CAPTCHA-solving integrations. You give it a profile (a YAML file describing one authorized workflow) and a CaptchaAI API key. It runs the workflow end to end against a real Chromium browser and emits a structured report saying exactly where the workflow broke — with a one-line recommended fix.

Why this exists

Every team that integrates a CAPTCHA solver eventually hits the same shape of bug:

"CaptchaAI gave me a token, but my page still rejects the CAPTCHA."

The token is rarely the problem. The actual failure is almost always one of:

  • wrong sitekey or wrong page URL
  • token written into the wrong field
  • callback not invoked
  • token expired before form submit
  • server-side siteverify mismatch
  • session / proxy / origin mismatch

Without a tool, debugging this requires staring at network traces and guessing. With doctor, you run one command and get a screenshot, an action timeline, and a labeled root cause.

Status

  • v0.2.1 (Beta): trust/packaging polish — NOTICE attribution, ROADMAP/SUPPORT docs, issue templates, hero image and launch article link in README.
  • v0.2.0: multi-CAPTCHA — Cloudflare Turnstile (managed and invisible), reCAPTCHA v2, reCAPTCHA v3, and Cloudflare Challenge. HTML + JSON reports, JSON Schema, real-solve evidence, CI mode, branch protection.
  • See CHANGELOG for the per-release detail and ROADMAP for what's on deck.

Where to start

  1. Quickstart — clone, install, run a demo.
  2. Profile schema — write your own profile.
  3. Failure taxonomy — the 14 root-cause classes.
  4. Token lifecycle — the four constraints every integration must satisfy.
  5. CI integration — how to wire doctor into your pipeline.
  6. Architecture — module layout and request flow.
  7. Troubleshooting — common gotchas.
  8. Responsible use — what doctor is and isn't for.

Reports

Every run produces:

  • report.json — strict JSON conforming to the published Draft 2020-12 report schema (export with captchaai-doctor schema).
  • report.html — single self-contained file (no remote assets) with badge, summary, recommendation, action timeline, and embedded screenshots.
  • Screenshots and a Playwright trace per workflow step.

See sample-reports/ in the repo root for examples of every failure mode.