Skip to content

Commit b63491e

Browse files
committed
Remove temporary fallback
1 parent f980107 commit b63491e

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

dotnet/src/webdriver/SeleniumManager.cs

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -108,18 +108,19 @@ public static class SeleniumManager
108108
}
109109

110110
// Still falling back to the runtimes directory for compatibility with .NET Framework applications
111-
switch (platform)
112-
{
113-
case SupportedPlatform.Windows:
114-
probingPaths.Add(Path.Combine(baseDirectory, "runtimes", "win", "native", seleniumManagerFileName));
115-
break;
116-
case SupportedPlatform.Linux:
117-
probingPaths.Add(Path.Combine(baseDirectory, "runtimes", "linux", "native", seleniumManagerFileName));
118-
break;
119-
case SupportedPlatform.MacOS:
120-
probingPaths.Add(Path.Combine(baseDirectory, "runtimes", "osx", "native", seleniumManagerFileName));
121-
break;
122-
}
111+
// TESTING IT
112+
//switch (platform)
113+
//{
114+
// case SupportedPlatform.Windows:
115+
// probingPaths.Add(Path.Combine(baseDirectory, "runtimes", "win", "native", seleniumManagerFileName));
116+
// break;
117+
// case SupportedPlatform.Linux:
118+
// probingPaths.Add(Path.Combine(baseDirectory, "runtimes", "linux", "native", seleniumManagerFileName));
119+
// break;
120+
// case SupportedPlatform.MacOS:
121+
// probingPaths.Add(Path.Combine(baseDirectory, "runtimes", "osx", "native", seleniumManagerFileName));
122+
// break;
123+
//}
123124

124125
binaryFullPath = probingPaths.Find(path => File.Exists(path));
125126

0 commit comments

Comments
 (0)