Table of Contents

Class WebDriverAndOptionsTypePair

Namespace
CSF.Extensions.WebDriver.Factories
Assembly
CSF.Extensions.WebDriver.dll

A tuple of Type, one a concrete implementation of OpenQA.Selenium.IWebDriver, the other the implementation of OpenQA.Selenium.DriverOptions which that web driver type uses.

public sealed class WebDriverAndOptionsTypePair : IEquatable<WebDriverAndOptionsTypePair>
Inheritance
WebDriverAndOptionsTypePair
Implements
Inherited Members

Constructors

WebDriverAndOptionsTypePair(Type, Type)

Initialises a new instance of WebDriverAndOptionsTypePair.

public WebDriverAndOptionsTypePair(Type webDriverType, Type optionsType)

Parameters

webDriverType Type

The web driver type

optionsType Type

The options type

Exceptions

ArgumentNullException

If either parameter is null.

Properties

OptionsType

Gets the options type.

public Type OptionsType { get; }

Property Value

Type

WebDriverType

Gets the web driver type.

public Type WebDriverType { get; }

Property Value

Type

Methods

Equals(WebDriverAndOptionsTypePair)

public bool Equals(WebDriverAndOptionsTypePair other)

Parameters

other WebDriverAndOptionsTypePair

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int