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

Method abort

playwright/_impl/_network.py:368–379  ·  view source on GitHub ↗
(self, errorCode: str = None)

Source from the content-addressed store, hash-verified

366 return from_channel(self._initializer["request"])
367
368 async def abort(self, errorCode: str = None) -> None:
369 await self._handle_route(
370 lambda: self._race_with_page_close(
371 self._channel.send(
372 "abort",
373 None,
374 {
375 "errorCode": errorCode,
376 },
377 )
378 )
379 )
380
381 async def fulfill(
382 self,

Calls 3

_handle_routeMethod · 0.95
_race_with_page_closeMethod · 0.95
sendMethod · 0.45