We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fab7f6 commit 03e5cd0Copy full SHA for 03e5cd0
playwright/_impl/_transport.py
@@ -48,12 +48,13 @@ def stop(self) -> None:
48
49
async def wait_until_stopped(self) -> None:
50
await self._stopped_future
51
+ await self._proc.wait()
52
53
async def run(self) -> None:
54
self._loop = asyncio.get_running_loop()
55
self._stopped_future: asyncio.Future = asyncio.Future()
56
- proc = await asyncio.create_subprocess_exec(
57
+ self._proc = proc = await asyncio.create_subprocess_exec(
58
str(self._driver_executable),
59
"run-driver",
60
stdin=asyncio.subprocess.PIPE,
0 commit comments