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

Function handler

tests/async/test_page_request_fallback.py:58–61  ·  view source on GitHub ↗
(route: Route)

Source from the content-addressed store, hash-verified

56
57 def create_handler(i: int) -> Callable[[Route], Coroutine]:
58 async def handler(route: Route) -> None:
59 intercepted.append(i)
60 await asyncio.sleep(0.1)
61 await route.fallback()
62
63 return handler
64

Callers

nothing calls this directly

Calls 6

appendMethod · 0.80
fallbackMethod · 0.45
fulfillMethod · 0.45
getMethod · 0.45
header_valueMethod · 0.45
continue_Method · 0.45

Tested by

no test coverage detected