Captcha types
GeeTest slider
How to send a GeeTest slider challenge and how to use the answer, an offset as a percentage of the background width.
On this page
Use geetest for the puzzle slider of GeeTest. You get the offset to drag the piece to.
#What to send
| Field | Meaning |
|---|---|
task |
The instruction text of the challenge, for example slide. |
image_data |
One complete challenge screenshot, or two pictures in this order: the background, then the transparent puzzle piece. |
{
"task": "slide",
"image_data": ["BASE64_BACKGROUND", "BASE64_PIECE"]
}#What you get
An object with x: the offset as a percentage of the width of the background image.
{"data": {"x": 42.5}}#Use the offset
Convert the percentage into pixels with the width of the background as the page shows it, then move the slider handle by that distance. This sketch uses Playwright. Replace the two selectors with the ones of your page, because GeeTest changes its markup.
- Measure after the opening animation. GeeTest scales the widget in when it opens. If you measure too early, the width is 5 to 10 % too small and the drag falls short. Wait until the background and the handle stop moving.
- Stay within 3 px. In our tests on the GeeTest v4 demo, an error of up to 3 px was always accepted. At 5 px it was always rejected.
- The path matters less. A plain drag was accepted on the demo. A short ease-out path with a little vertical jitter is a safe default for stricter sites.
const x = answer.data.x; // 42.5
const bg = await page.locator("BACKGROUND_SELECTOR").boundingBox();
const distance = (bg.width * x) / 100;
const handle = await page.locator("HANDLE_SELECTOR").boundingBox();
const startX = handle.x + handle.width / 2;
const startY = handle.y + handle.height / 2;
await page.mouse.move(startX, startY);
await page.mouse.down();
await page.mouse.move(startX + distance, startY, { steps: 25 });
await page.mouse.up();Solvecha is an independent service. It is not affiliated with NopeCHA, 2Captcha, CapSolver, Google or CloakHQ. Their names describe compatibility or recommendations only. Figures come from our own tests, see the compare page.