Fix Java binding test org.openqa.selenium.os.CommandLineTest.canUpdateLibraryPath().
@@ -85,7 +85,7 @@ public void setDynamicLibraryPath(String newLibraryPath) {
public void updateDynamicLibraryPath(String extraPath) {
if (extraPath != null) {
String existing = System.getenv(getLibraryPathPropertyName());
- String ldPath = existing != null ? existing + File.separator + extraPath : extraPath;
+ String ldPath = existing != null ? existing + File.pathSeparator + extraPath : extraPath;
setEnvironmentVariable(getLibraryPathPropertyName(), ldPath);
}
}
