Table of Contents

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 IGetsBrowserInfoMatch

A browser matcher

quirksDataProvider IGetsQuirksData

A 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 BrowserId

The browser ID

Returns

IReadOnlyCollection<string>

Exceptions

ArgumentNullException

If browserId is null.