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 dbe9758 commit 8e7b8b2Copy full SHA for 8e7b8b2
dotnet/src/webdriver/DriverFinder.cs
@@ -111,12 +111,18 @@ private SeleniumManagerPaths BinaryPaths()
111
}
112
113
SeleniumManagerPaths binaryPaths = SeleniumManager.BinaryPaths(CreateArguments());
114
- if (!File.Exists(binaryPaths.DriverPath))
+ if (File.Exists(binaryPaths.DriverPath))
115
+ {
116
+ }
117
+ else
118
{
119
throw new NoSuchDriverException($"The driver path is not a valid file: {binaryPaths.DriverPath}");
120
121
- if (!File.Exists(binaryPaths.BrowserPath))
122
+ if (File.Exists(binaryPaths.BrowserPath))
123
124
125
126
127
throw new NoSuchDriverException($"The browser path is not a valid file: {binaryPaths.BrowserPath}");
128
0 commit comments