File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,9 @@ csharp_library(
51
51
],
52
52
deps = [
53
53
"//dotnet/src/webdriver:webdriver-net8.0" ,
54
- "@rules_dotnet//tools/runfiles" ,
55
54
framework ("nuget" , "Newtonsoft.Json" ),
56
55
framework ("nuget" , "NUnit" ),
56
+ framework ("nuget" , "Runfiles" ),
57
57
],
58
58
)
59
59
@@ -92,5 +92,6 @@ dotnet_nunit_test_suite(
92
92
framework ("nuget" , "BenderProxy" ),
93
93
framework ("nuget" , "Newtonsoft.Json" ),
94
94
framework ("nuget" , "NUnit" ),
95
+ framework ("nuget" , "Runfiles" ),
95
96
],
96
97
)
Original file line number Diff line number Diff line change @@ -52,7 +52,15 @@ public async Task StartAsync()
52
52
try
53
53
{
54
54
var runfiles = Runfiles . Create ( ) ;
55
- standaloneAppserverPath = runfiles . Rlocation ( @"_main/java/test/org/openqa/selenium/environment/appserver" ) ;
55
+
56
+ var standaloneAppserverProbingPath = @"_main/java/test/org/openqa/selenium/environment/appserver" ;
57
+
58
+ if ( OperatingSystem . IsWindows ( ) )
59
+ {
60
+ standaloneAppserverProbingPath += ".exe" ;
61
+ }
62
+
63
+ standaloneAppserverPath = runfiles . Rlocation ( standaloneAppserverProbingPath ) ;
56
64
}
57
65
catch ( FileNotFoundException )
58
66
{
You can’t perform that action at this time.
0 commit comments