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

Function handler

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

Source from the content-addressed store, hash-verified

64
65 def create_handler(i: int) -> Callable[[Route], None]:
66 def handler(route: Route) -> None:
67 intercepted.append(i)
68 page.wait_for_timeout(500)
69 route.fallback()
70
71 return handler
72

Callers

nothing calls this directly

Calls 7

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

Tested by

no test coverage detected