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 98f2080 commit b075e12Copy full SHA for b075e12
java/src/org/openqa/selenium/remote/service/DriverService.java
@@ -145,13 +145,13 @@ protected static File findExecutable(
145
}
146
147
148
- Require.state("The path to the driver executable", exePath).nonNull(
+ String validPath = Require.state("The path to the driver executable", exePath).nonNull(
149
"The path to the driver executable must be set by the %s system property;"
150
+ " for more information, see %s. "
151
+ "The latest version can be downloaded from %s",
152
exeProperty, exeDocs, exeDownload);
153
154
- File exe = new File(exePath);
+ File exe = new File(validPath);
155
checkExecutable(exe);
156
return exe;
157
0 commit comments