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

Method _handle_route

playwright/_impl/_network.py:461–468  ·  view source on GitHub ↗
(self, callback: Callable)

Source from the content-addressed store, hash-verified

459 await self._race_with_page_close(self._channel.send("fulfill", None, params))
460
461 async def _handle_route(self, callback: Callable) -> None:
462 self._check_not_handled()
463 try:
464 await callback()
465 self._report_handled(True)
466 except Exception as e:
467 self._did_throw = True
468 raise e
469
470 async def fetch(
471 self,

Callers 4

abortMethod · 0.95
fulfillMethod · 0.95
continue_Method · 0.95

Calls 2

_check_not_handledMethod · 0.95
_report_handledMethod · 0.95

Tested by

no test coverage detected