Class QuirksAugmenter
- Namespace
- CSF.Extensions.WebDriver.Proxies
- Assembly
- CSF.Extensions.WebDriver.dll
Implementation of IAugmentsProxyContext which adds IHasQuirks to the proxy.
public class QuirksAugmenter : IAugmentsProxyContext
- Inheritance
-
QuirksAugmenter
- Implements
- Inherited Members
Constructors
QuirksAugmenter(IServiceProvider)
Initialises a new instance of QuirksAugmenter.
public QuirksAugmenter(IServiceProvider services)
Parameters
services
IServiceProviderThe DI services provider.
Exceptions
- ArgumentNullException
If
services
is null.
Methods
AugmentContext(WebDriverProxyCreationContext)
Augment the specified WebDriverProxyCreationContext with additional functionality.
public void AugmentContext(WebDriverProxyCreationContext context)
Parameters
context
WebDriverProxyCreationContextThe context object to augment.