MCPcopy Create free account
hub / github.com/Vinyzu/Botright / test_recaptcha

Function test_recaptcha

tests/test_recaptcha.py:7–12  ·  view source on GitHub ↗
(page)

Source from the content-addressed store, hash-verified

5
6@pytest.mark.asyncio
7async def test_recaptcha(page):
8 await page.goto("https://www.google.com/recaptcha/api2/demo")
9
10 with suppress(RecursionError):
11 result = await page.solve_recaptcha()
12 assert result

Callers

nothing calls this directly

Calls 1

solve_recaptchaMethod · 0.80

Tested by

no test coverage detected