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

Function handler

tests/async/test_browsercontext_request_fallback.py:63–66  ·  view source on GitHub ↗
(route: Route)

Source from the content-addressed store, hash-verified

61
62 def create_handler(i: int) -> Callable[[Route], Coroutine]:
63 async def handler(route: Route) -> None:
64 intercepted.append(i)
65 await asyncio.sleep(0.1)
66 await route.fallback()
67
68 return handler
69

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