From d9b75592a13d78d45c5a8e77c2bfae29d70e74b2 Mon Sep 17 00:00:00 2001 From: oxy-star Date: Wed, 6 Nov 2024 14:31:15 +0200 Subject: [PATCH] Use `Process.communicate` instead of `Process.wait` --- playwright/_impl/_transport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright/_impl/_transport.py b/playwright/_impl/_transport.py index 124f57823..2ca84d459 100644 --- a/playwright/_impl/_transport.py +++ b/playwright/_impl/_transport.py @@ -167,7 +167,7 @@ async def run(self) -> None: break await asyncio.sleep(0) - await self._proc.wait() + await self._proc.communicate() self._stopped_future.set_result(None) def send(self, message: Dict) -> None: