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

Method stop_sync

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

Source from the content-addressed store, hash-verified

314 await self._transport.run()
315
316 def stop_sync(self) -> None:
317 self._transport.request_stop()
318 self._dispatcher_fiber.switch()
319 self._loop.run_until_complete(self._transport.wait_until_stopped())
320 self.cleanup()
321
322 async def stop_async(self) -> None:
323 self._transport.request_stop()

Callers 1

__exit__Method · 0.80

Calls 3

cleanupMethod · 0.95
request_stopMethod · 0.45
wait_until_stoppedMethod · 0.45

Tested by

no test coverage detected