Class DriverFinder
Finds a driver, checks if the provided path exists, if not, Selenium Manager is used. This implementation is still in beta and may change.
public class DriverFinder
- Inheritance
-
DriverFinder
- Inherited Members
Constructors
DriverFinder(DriverOptions)
Initializes a new instance of the DriverFinder class.
public DriverFinder(DriverOptions options)
Parameters
options
DriverOptions
Exceptions
- ArgumentNullException
If
options
is null.
Methods
GetBrowserPath()
Gets the browser path retrieved by Selenium Manager
public string GetBrowserPath()
Returns
- string
The full browser path
GetDriverPath()
Gets the driver path retrieved by Selenium Manager
public string GetDriverPath()
Returns
- string
The full driver path
HasBrowserPath()
Gets whether there is a browser path for the given browser on this platform.
public bool HasBrowserPath()
Returns
TryGetBrowserPath(out string?)
Tries to get the browser path, as retrieved by Selenium Manager.
public bool TryGetBrowserPath(out string? browserPath)