MCPcopy Create free account
hub / github.com/Vinyzu/Botright / handler

Function handler

tests/playwright_tests/test_browsercontext.py:138–140  ·  view source on GitHub ↗
(route, request, ordinal)

Source from the content-addressed store, hash-verified

136 intercepted = []
137
138 def handler(route, request, ordinal):
139 intercepted.append(ordinal)
140 asyncio.create_task(route.continue_())
141
142 await browser.route("**/*", lambda route, request: handler(route, request, 1))
143 await browser.route("**/empty.html", lambda route, request: handler(route, request, 2))

Callers 6

handler4Function · 0.85
handler_proxyMethod · 0.85
handler_proxyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected