MCPcopy Create free account
hub / github.com/Vinyzu/recognizer / test_testrecaptcha_github

Function test_testrecaptcha_github

tests/test_recaptcha_sites.py:332–341  ·  view source on GitHub ↗
(async_page: Page)

Source from the content-addressed store, hash-verified

330@pytest.mark.asyncio
331@pytest.mark.skip(reason="No different challenge type, Skipping due to time complexity")
332async def test_testrecaptcha_github(async_page: Page):
333 challenger = AsyncChallenger(async_page, click_timeout=1000)
334 # For slow Pytest Loading
335 challenger.detector.detection_models.check_loaded()
336
337 await async_page.goto("https://testrecaptcha.github.io/")
338
339 with suppress(RecursionError):
340 res = await challenger.solve_recaptcha()
341 assert res
342
343
344@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 3

solve_recaptchaMethod · 0.95
AsyncChallengerClass · 0.90
check_loadedMethod · 0.80

Tested by

no test coverage detected