Skip to content

Commit e3975a7

Browse files
committed
[htmlrunner] Allowing relative path to the suite file
1 parent f723701 commit e3975a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/server/src/org/openqa/selenium/server/htmlrunner/HTMLLauncher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ private URL determineSuiteUrl(String startURL, String suiteURL) throws IOExcepti
147147
}
148148

149149
// Is the suiteURL a file?
150-
Path path = Paths.get(suiteURL);
150+
Path path = Paths.get(suiteURL).toAbsolutePath();
151151
if (Files.exists(path)) {
152152
// Not all drivers can read files from the disk, so we need to host the suite somewhere.
153153
try (SocketLock lock = new SocketLock()) {

0 commit comments

Comments
 (0)