Skip to content

[Bug]: reCAPTCHA v3 Enterprise failing #417

@hudcap

Description

@hudcap

Checklist before reporting

  • I have searched for similar issues and didn't find a duplicate.
  • I have updated to the latest version of pydoll to verify the issue still exists.

pydoll Version

2.23.0

Python Version

3.14.2

Operating System

Windows

Bug Description

reCAPTCHA v3 Enterprise blocks login to https://accounts.mheducation.com/login

Steps to Reproduce

  1. Attempt login using humanize
  2. Response indicates a recaptcha failure

Code Example

import asyncio

from pydoll.browser.chromium import Chrome


async def main():
    async with Chrome() as browser:
        tab = await browser.start()

        await tab.go_to("https://accounts.mheducation.com/login")

        username_input = await tab.find("login-email", timeout=3)
        password_input = await tab.find("login-password")
        submit_button = await tab.find("login-submit-btn")

        await username_input.type_text("foo@bar.com", humanize=True)
        await password_input.type_text("foobar", humanize=True)

        await tab.enable_network_events()
        await submit_button.click(humanize=True)

        await asyncio.sleep(2)
        logs = await tab.get_network_logs(filter="/api/v1/login")
        for log in logs:
            method = log["params"]["request"]["method"]
            if method != "POST":
                continue
            request_id = log["params"]["requestId"]
            response_body = await tab.get_network_response_body(request_id)
            print(response_body)


asyncio.run(main())

Expected Behavior

No response

Actual Behavior

Response:
{"code":"access.denied","enhancedCode":"recaptcha.access.denied","message":"Access denied","status":403,"traceId":"***"}

Relevant Log Output

Additional Context

I also tried with a full fingerprint setup, various random delays, offsets, and mouse movements, which didn't help. I can share this if helpful.
https://2captcha.com/demo/recaptcha-v3-enterprise reported a score of 0.9 when running my fingerprint setup.
When I just load the page, pause, and manually login, it almost always works.

I'm not sure if this is a bug or I need to experiment with more random mouse movements, but at this point, I feel like I'm spinning my wheels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions