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 47c1bc1 commit a00d636Copy full SHA for a00d636
playwright/_impl/_driver.py
@@ -26,7 +26,10 @@ def compute_driver_executable() -> Tuple[str, str]:
26
driver_path = Path(inspect.getfile(playwright)).parent / "driver"
27
cli_path = str(driver_path / "package" / "cli.js")
28
if sys.platform == "win32":
29
- return (str(driver_path / "node.exe"), cli_path)
+ return (
30
+ os.getenv("PLAYWRIGHT_NODEJS_PATH", str(driver_path / "node.exe")),
31
+ cli_path,
32
+ )
33
return (os.getenv("PLAYWRIGHT_NODEJS_PATH", str(driver_path / "node")), cli_path)
34
35
0 commit comments