diff --git a/src/main/java/io/appium/java_client/service/local/AppiumServiceBuilder.java b/src/main/java/io/appium/java_client/service/local/AppiumServiceBuilder.java index 1636bbae1..b0413d165 100644 --- a/src/main/java/io/appium/java_client/service/local/AppiumServiceBuilder.java +++ b/src/main/java/io/appium/java_client/service/local/AppiumServiceBuilder.java @@ -93,6 +93,7 @@ public final class AppiumServiceBuilder public AppiumServiceBuilder() { usingPort(DEFAULT_APPIUM_PORT); + withEnvironment(System.getenv()); } private static void validateNodeStructure(File node) {