Table of Contents

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 IWebDriver

The WebDriver

creationOptions DriverOptions

The driver options with which the driver was created

Returns

BrowserId

A BrowserId

Exceptions

ArgumentNullException

If driver is null.