Class ApplicableQuirksProvider
- Namespace
- CSF.Extensions.WebDriver.Quirks
- Assembly
- CSF.Extensions.WebDriver.dll
Default implementation of IGetsQuirksForBrowserId.
public class ApplicableQuirksProvider : IGetsQuirksForBrowserId
- Inheritance
-
ApplicableQuirksProvider
- Implements
- Inherited Members
Constructors
ApplicableQuirksProvider(IGetsBrowserInfoMatch, IGetsQuirksData)
Initialises a new instance of ApplicableQuirksProvider.
public ApplicableQuirksProvider(IGetsBrowserInfoMatch browserMatcher, IGetsQuirksData quirksDataProvider)
Parameters
browserMatcher
IGetsBrowserInfoMatchA browser matcher
quirksDataProvider
IGetsQuirksDataA provider for the source quirks data
Exceptions
- ArgumentNullException
If
browserMatcher
is null.
Methods
GetApplicableQuirks(BrowserId)
Gets a collection of the named quirks which are applicable to the specified browser.
public IReadOnlyCollection<string> GetApplicableQuirks(BrowserId browserId)
Parameters
browserId
BrowserIdThe browser ID
Returns
Exceptions
- ArgumentNullException
If
browserId
is null.