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 753a4f7 commit 3aa647aCopy full SHA for 3aa647a
dotnet/test/common/Environment/TestWebServer.cs
@@ -53,14 +53,14 @@ public async Task StartAsync()
53
{
54
var runfiles = Runfiles.Create();
55
56
+ var standaloneAppserverProbingPath = @"_main/java/test/org/openqa/selenium/environment/appserver";
57
+
58
if (OperatingSystem.IsWindows())
59
- standaloneAppserverPath = runfiles.Rlocation(@"_main/java/test/org/openqa/selenium/environment/appserver.exe");
- }
60
- else
61
- {
62
- standaloneAppserverPath = runfiles.Rlocation(@"_main/java/test/org/openqa/selenium/environment/appserver");
+ standaloneAppserverProbingPath += ".exe";
63
}
+ standaloneAppserverPath = runfiles.Rlocation(standaloneAppserverProbingPath);
64
65
catch (FileNotFoundException)
66
0 commit comments