1
0
mirror of synced 2026-05-23 11:13:15 +00:00

Compare commits

...

1 Commits

Author SHA1 Message Date
Yury Semikhatsky d36b36e770 cherry-pick(#1552): fix(driver): consider PLAYWRIGHT_NODEJS_PATH from… (#1557) 2024-04-22 15:59:42 -07:00
@@ -18,7 +18,6 @@ package com.microsoft.playwright.impl.driver;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
@@ -30,7 +29,7 @@ import static com.microsoft.playwright.impl.driver.DriverLogging.logWithTimestam
* loaded from the driver-bundle module if that module is in the classpath.
*/
public abstract class Driver {
protected final Map<String, String> env = new LinkedHashMap<>();
protected final Map<String, String> env = new LinkedHashMap<>(System.getenv());
public static final String PLAYWRIGHT_NODEJS_PATH = "PLAYWRIGHT_NODEJS_PATH";
private static Driver instance;