Class QuirksInterceptor
- Namespace
- CSF.Extensions.WebDriver.Proxies
- Assembly
- CSF.Extensions.WebDriver.dll
Interceptor which provides functionality for IHasQuirks.
public class QuirksInterceptor : IInterceptor
- Inheritance
-
QuirksInterceptor
- Implements
-
IInterceptor
- Inherited Members
Constructors
QuirksInterceptor(BrowserId, IGetsQuirksForBrowserId)
Initialises a new instance of QuirksInterceptor.
public QuirksInterceptor(BrowserId browserId, IGetsQuirksForBrowserId quirksMatcher)
Parameters
browserId
BrowserIdThe browser identity
quirksMatcher
IGetsQuirksForBrowserIdA service to match a browser with its quirks
Exceptions
- ArgumentNullException
If any parameter is null.
Methods
Intercept(IInvocation)
public void Intercept(IInvocation invocation)
Parameters
invocation
IInvocation