Table of Contents

Class WebDriverProxyCreationContext

Namespace
CSF.Extensions.WebDriver.Proxies
Assembly
CSF.Extensions.WebDriver.dll

Contextual information related to the creation of a WebDriver proxy.

public class WebDriverProxyCreationContext
Inheritance
WebDriverProxyCreationContext
Inherited Members

Constructors

WebDriverProxyCreationContext(IWebDriver, ProxyCreationOptions)

Initialises a new instance of WebDriverProxyCreationContext.

public WebDriverProxyCreationContext(IWebDriver webDriver, ProxyCreationOptions creationOptions)

Parameters

webDriver IWebDriver

The WebDriver from which the proxy will be created.

creationOptions ProxyCreationOptions

The WebDriver proxy creation options.

Exceptions

ArgumentNullException

If either parameter is null.

Properties

BrowserId

Gets or sets the identity information for the browser.

public BrowserId BrowserId { get; set; }

Property Value

BrowserId

CreationOptions

Gets the driver options from which the WebDriver was originally created.

public ProxyCreationOptions CreationOptions { get; }

Property Value

ProxyCreationOptions

Remarks

Although it should be unlikely, consumers should deal with scenarios in which this property value is null.

Interceptors

Gets a collection of the Castle DynamicProxy interceptors which shall be applied to the proxy.

public ISet<IInterceptor> Interceptors { get; }

Property Value

ISet<IInterceptor>

Interfaces

Gets a collection of the interfaces which the proxy object shall implement.

public ISet<Type> Interfaces { get; }

Property Value

ISet<Type>

WebDriver

Gets the WebDriver object from which a proxy will be created.

public IWebDriver WebDriver { get; }

Property Value

IWebDriver