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 8e7b8b2 commit 26714e5Copy full SHA for 26714e5
dotnet/src/webdriver/DriverFinder.cs
@@ -105,7 +105,7 @@ public bool TryGetBrowserPath([NotNullWhen(true)] out string? browserPath)
105
/// <exception cref="NoSuchDriverException">If one of the paths does not exist.</exception>
106
private SeleniumManagerPaths BinaryPaths()
107
{
108
- if (paths is not null)
+ if (paths is not null && !string.IsNullOrWhiteSpace(paths.DriverPath))
109
110
return paths;
111
}
0 commit comments