Skip to content

Commit

Permalink
Fix WebDriverProvider for Windows
Browse files Browse the repository at this point in the history
Also on Windows, URIs use forward slashes
  • Loading branch information
matthias-ronge authored and solth committed Sep 1, 2023
1 parent 29334c5 commit ca24dbe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public static void provideChromeDriver(String downloadFolder, String extractFold
private static File extractZipFileToFolder(File zipFile, File destinationFolder, String chromeDriverFilename,
String chromeDriverVersion) {
extractZipFileToFolder(zipFile, destinationFolder);
return new File(destinationFolder.toURI().resolve(chromeDriverVersion + File.separator)
return new File(destinationFolder.toURI().resolve(chromeDriverVersion + '/')
.resolve(chromeDriverFilename));
}

Expand Down

0 comments on commit ca24dbe

Please sign in to comment.