Loading challenge...
Drag the handle onto a server-graded target with manual mouse offset math
A self-hosted slide-to-verify captcha β drag the handle onto the target marker; the server grades the landing position within a tolerance
On mount the page fetches a fresh challenge from GET /api/captcha/challenge?type=slider&mode=practice. The response carries a signed token plus a display of { target, tolerance } (target is a percentage 35β85).
Your goal: drag #captcha-slider-handle until it sits over the target notch, then submit. The server recomputes the answer from the token and returns verdict: human when you land within tolerance.
Align the handle with the target marker, then verify
0%Loading challengeβ¦
Automation hints
display.target or from the #captcha-slider-targetmarker's inline left stylelocator.dragTo() is awkward here (no drop target) β drive the mouse manually: take boundingBox() of #captcha-slider-handle and #captcha-slider-track, compute targetX = trackBox.x + trackBox.width * target/100mouse.move(handleCenterX, y) β mouse.down() β mouse.move(targetX, y, { steps: 10 }) β mouse.up(); stepped moves fire realistic pointermove eventsanswer: String(Math.round(handlePercent)) and the server grades within Β±5 β land near the target, an exact pixel is not required#captcha-slider-handle's aria-valuenow, then assert #captcha-result[data-verdict=human] β not just any success text