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

Function _handler2

tests/async/test_browsercontext_route.py:277–280  ·  view source on GitHub ↗
(route: Route)

Source from the content-addressed store, hash-verified

275 await context.route("**/*", _handler, times=1)
276
277 async def _handler2(route: Route) -> None:
278 intercepted.append("second")
279 await context.unroute("**/*", _handler)
280 await route.fallback()
281
282 await context.route("**/*", _handler2)
283 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