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

Function handler

tests/sync/test_page_request_fallback.py:64–67  ·  view source on GitHub ↗
(route: Route)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 8

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