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

Function handler2

tests/async/test_page_route.py:1024–1027  ·  view source on GitHub ↗
(route: Route)

Source from the content-addressed store, hash-verified

1022 await page.route("**/*", handler, times=1)
1023
1024 async def handler2(route: Route) -> None:
1025 intercepted.append("second")
1026 await page.unroute("**/*", handler)
1027 await route.fallback()
1028
1029 await page.route("**/*", handler2)
1030 await page.goto(server.EMPTY_PAGE)

Callers

nothing calls this directly

Calls 3

appendMethod · 0.80
unrouteMethod · 0.45
fallbackMethod · 0.45

Tested by

no test coverage detected