Table of Contents

Class IdentificationAugmenter

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

Implementation of IAugmentsProxyContext which adds IHasBrowserId to the proxy.

public class IdentificationAugmenter : IAugmentsProxyContext
Inheritance
IdentificationAugmenter
Implements
Inherited Members

Constructors

IdentificationAugmenter(IGetsBrowserIdFromWebDriver)

Initialises a new instance of IdentificationAugmenter.

public IdentificationAugmenter(IGetsBrowserIdFromWebDriver browserIdFactory)

Parameters

browserIdFactory IGetsBrowserIdFromWebDriver

The browser identity factory.

Exceptions

ArgumentNullException

If browserIdFactory is null.

Methods

AugmentContext(WebDriverProxyCreationContext)

Augment the specified WebDriverProxyCreationContext with additional functionality.

public void AugmentContext(WebDriverProxyCreationContext context)

Parameters

context WebDriverProxyCreationContext

The context object to augment.