There was an error while loading. Please reload this page.
1 parent 29b5a13 commit 0a3d7f0Copy full SHA for 0a3d7f0
playwright/_impl/_transport.py
@@ -115,7 +115,7 @@ async def connect(self) -> None:
115
# For pyinstaller
116
env = os.environ.copy()
117
if getattr(sys, "frozen", False):
118
- env["PLAYWRIGHT_BROWSERS_PATH"] = "0"
+ env.setdefault("PLAYWRIGHT_BROWSERS_PATH", "0")
119
120
self._proc = await asyncio.create_subprocess_exec(
121
str(self._driver_executable),
0 commit comments