From 8d8d8ab7c78622bd5ba66027e3754472712bf521 Mon Sep 17 00:00:00 2001 From: oxy-star <101326713+oxy-star@users.noreply.github.com> Date: Mon, 11 Nov 2024 14:46:13 +0200 Subject: [PATCH] fix(transport): use `Process.communicate` instead of `Process.wait` (#2634) --- 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: