Class BrowserIdFactory
- Namespace
- CSF.Extensions.WebDriver.Identification
- Assembly
- CSF.Extensions.WebDriver.dll
Default implementation of IGetsBrowserIdFromWebDriver.
public class BrowserIdFactory : IGetsBrowserIdFromWebDriver
- Inheritance
-
BrowserIdFactory
- Implements
- Inherited Members
Methods
GetBrowserId(IWebDriver, DriverOptions)
Gets a BrowserId from the specified OpenQA.Selenium.IWebDriver and the options object with which it was created.
public BrowserId GetBrowserId(IWebDriver driver, DriverOptions creationOptions)
Parameters
driver
IWebDriverThe WebDriver
creationOptions
DriverOptionsThe driver options with which the driver was created
Returns
Exceptions
- ArgumentNullException
If
driver
is null.