MCPcopy Index your code
hub / github.com/microsoft/playwright-python / test_should_work

Function test_should_work

tests/async/test_page_request_fallback.py:24–26  ·  view source on GitHub ↗
(page: Page, server: Server)

Source from the content-addressed store, hash-verified

22
23
24async def test_should_work(page: Page, server: Server) -> None:
25 await page.route("**/*", lambda route: asyncio.create_task(route.fallback()))
26 await page.goto(server.EMPTY_PAGE)
27
28
29async def test_should_fall_back(page: Page, server: Server) -> None:

Callers

nothing calls this directly

Calls 3

routeMethod · 0.45
fallbackMethod · 0.45
gotoMethod · 0.45

Tested by

no test coverage detected