Skip to content

[BUG] ReCognizer doesn't solve recaptcha 9-image puzzle #131

@bomzj

Description

@bomzj

Describe the bug
ReCognizer can't solve recaptcha "select images" challenge

Code Sample

import asyncio

from playwright.async_api import async_playwright, Playwright
from recognizer.agents.playwright import AsyncChallenger


async def run(playwright: Playwright):
    browser = await playwright.chromium.launch(headless=False)
    page = await browser.new_page()

    challenger = AsyncChallenger(page, click_timeout=1000)
    await page.goto("https://2captcha.com/demo/recaptcha-v2")

    await challenger.solve_recaptcha()

    await browser.close()


async def main():
    async with async_playwright() as playwright:
        await run(playwright)


asyncio.run(main())

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://2captcha.com/demo/recaptcha-v2
  2. After several attemps it should start showing images challenge instead of simple click checkbox.
  3. ReCognizer can't solve and stuck until all attemps exhausted

Expected behavior
ReCognizer should solve image challenge.

Desktop (please complete the following information):

  • OS: Windows 11
  • Version 10.0.22621

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions