diff --git a/build.gradle b/build.gradle
index 1f802fdc..68d6b4fd 100644
--- a/build.gradle
+++ b/build.gradle
@@ -208,9 +208,9 @@ repositories {
dependencies {
constraints {
- api 'com.nordstrom.tools:java-utils:3.0.0'
- api 'com.nordstrom.tools:settings:3.0.1'
- api 'com.nordstrom.tools:junit-foundation:17.0.1'
+ api 'com.nordstrom.tools:java-utils:3.1.1'
+ api 'com.nordstrom.tools:settings:3.0.2'
+ api 'com.nordstrom.tools:junit-foundation:17.0.2'
api 'com.github.sbabcoc:logback-testng:2.0.0'
api 'org.hamcrest:hamcrest-core:2.2'
api 'org.yaml:snakeyaml:1.30'
diff --git a/pom.xml b/pom.xml
index 8df3fb9b..c7d0574b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,13 +38,13 @@
@projectVersion@
@projectTimestamp@
@seleniumApi@
- 3.0.0
+ 3.1.1
3.10.1
3.0.0-M7
3.2.1
3.4.0
- 3.0.1
- 17.0.1
+ 3.0.2
+ 17.0.2
2.0.0
java
0.8.8
@@ -142,7 +142,7 @@
8
- 4.0.1-j8
+ 4.0.2-j8
3.141.59
3.12.0
31.1-jre
diff --git a/selenium3Deps.gradle b/selenium3Deps.gradle
index 8e2f5253..0cb1eb26 100644
--- a/selenium3Deps.gradle
+++ b/selenium3Deps.gradle
@@ -24,7 +24,7 @@ sourceSets {
dependencies {
constraints {
- api 'com.nordstrom.tools:testng-foundation:4.0.1-j8'
+ api 'com.nordstrom.tools:testng-foundation:4.0.2-j8'
api 'org.seleniumhq.selenium:selenium-server:3.141.59'
api 'org.seleniumhq.selenium:selenium-support:3.141.59'
api 'org.apache.httpcomponents:httpclient:4.5.13'
diff --git a/src/main/java/com/nordstrom/automation/selenium/core/LocalSeleniumGrid.java b/src/main/java/com/nordstrom/automation/selenium/core/LocalSeleniumGrid.java
index 639bad55..1ab6db4f 100644
--- a/src/main/java/com/nordstrom/automation/selenium/core/LocalSeleniumGrid.java
+++ b/src/main/java/com/nordstrom/automation/selenium/core/LocalSeleniumGrid.java
@@ -28,6 +28,7 @@
import com.nordstrom.automation.selenium.SeleniumConfig;
import com.nordstrom.automation.selenium.exceptions.GridServerLaunchFailedException;
import com.nordstrom.common.base.UncheckedThrow;
+import com.nordstrom.common.file.PathUtils;
import com.nordstrom.common.jar.JarUtils;
/**
@@ -294,6 +295,7 @@ public static LocalGridServer create(final String launcherClassName, final Strin
String executable = System.getProperty("java.home") + File.separator + "bin" + File.separator + "java";
CommandLine process = new CommandLine(executable, argsList.toArray(new String[0]));
+ process.setEnvironmentVariable("PATH", PathUtils.getSystemPath());
return new LocalGridServer(hostUrl, portNum, role, process, workingPath, outputPath);
}
diff --git a/src/main/java/com/nordstrom/automation/selenium/plugins/AbstractAppiumPlugin.java b/src/main/java/com/nordstrom/automation/selenium/plugins/AbstractAppiumPlugin.java
index 441cd1f1..ead0c2f1 100644
--- a/src/main/java/com/nordstrom/automation/selenium/plugins/AbstractAppiumPlugin.java
+++ b/src/main/java/com/nordstrom/automation/selenium/plugins/AbstractAppiumPlugin.java
@@ -30,6 +30,7 @@
import com.nordstrom.automation.selenium.core.SeleniumGrid.GridServer;
import com.nordstrom.automation.selenium.exceptions.GridServerLaunchFailedException;
import com.nordstrom.automation.selenium.utility.BinaryFinder;
+import com.nordstrom.common.file.PathUtils;
import net.bytebuddy.implementation.Implementation;
@@ -326,6 +327,7 @@ private static File findMainScript() throws GridServerLaunchFailedException {
argsList.add("-g");
CommandLine process = new CommandLine(executable, argsList.toArray(new String[0]));
+ process.setEnvironmentVariable("PATH", PathUtils.getSystemPath());
try {
process.execute();
@@ -417,6 +419,7 @@ public static boolean shutdownAppiumWithPM2(URL nodeUrl) {
}
process = new CommandLine(executable, argsList.toArray(new String[0]));
+ process.setEnvironmentVariable("PATH", PathUtils.getSystemPath());
process.execute();
return true;
}