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

Method stop_async

playwright/_impl/_connection.py:322–325  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

320 self.cleanup()
321
322 async def stop_async(self) -> None:
323 self._transport.request_stop()
324 await self._transport.wait_until_stopped()
325 self.cleanup()
326
327 def cleanup(self, cause: str = None) -> None:
328 self._closed_error = TargetClosedError(cause) if cause else TargetClosedError()

Callers 2

__aexit__Method · 0.80
closeMethod · 0.80

Calls 3

cleanupMethod · 0.95
request_stopMethod · 0.45
wait_until_stoppedMethod · 0.45

Tested by

no test coverage detected