Table of Contents

Class BrowserInfoMatcher

Namespace
CSF.Extensions.WebDriver.Identification
Assembly
CSF.Extensions.WebDriver.dll

Default implementation of IGetsBrowserInfoMatch.

public class BrowserInfoMatcher : IGetsBrowserInfoMatch
Inheritance
BrowserInfoMatcher
Implements
Inherited Members

Methods

Matches(BrowserId, BrowserInfo)

Gets a value indicating whether or not the specified browserId is a match for the specified browserInfo or not.

public bool Matches(BrowserId browserId, BrowserInfo browserInfo)

Parameters

browserId BrowserId

A browser ID

browserInfo BrowserInfo

A browser info object

Returns

bool

true if the browser ID matches the browser info; false if not.

Exceptions

ArgumentNullException

If any parameter is null.

ArgumentException

If browserInfo has a null or empty Name.