Class WebDriverAndOptions
- Namespace
- CSF.Extensions.WebDriver.Factories
- Assembly
- CSF.Extensions.WebDriver.dll
A model containing a WebDriver and the DriverOptions which were used to create it.
public sealed class WebDriverAndOptions : IDisposable
- Inheritance
-
WebDriverAndOptions
- Implements
- Inherited Members
Constructors
WebDriverAndOptions(IWebDriver, DriverOptions)
Initialises a new instance of WebDriverAndOptions.
public WebDriverAndOptions(IWebDriver webDriver, DriverOptions driverOptions)
Parameters
webDriver
IWebDriverThe WebDriver.
driverOptions
DriverOptionsThe options which were used to create
webDriver
.
Exceptions
- ArgumentNullException
If either parameter is null.
Properties
DriverOptions
Gets the DriverOptions which were used to create the WebDriver
public DriverOptions DriverOptions { get; }
Property Value
- DriverOptions
WebDriver
Gets the WebDriver
public IWebDriver WebDriver { get; }
Property Value
- IWebDriver
Methods
Dispose()
public void Dispose()