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

Function _unroute_promise

tests/async/test_unroute_behavior.py:105–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103 did_unroute = False
104
105 async def _unroute_promise() -> None:
106 nonlocal did_unroute
107 await context.unroute_all(behavior="wait")
108 did_unroute = True
109
110 unroute_task = asyncio.create_task(_unroute_promise())
111 await asyncio.sleep(0.5)

Calls 1

unroute_allMethod · 0.45

Tested by

no test coverage detected