Table of Contents

Class AuditsAdapter

Namespace
OpenQA.Selenium.DevTools.V132.Audits
Assembly
WebDriver.dll

Represents an adapter for the Audits domain to simplify the command interface.

public class AuditsAdapter
Inheritance
AuditsAdapter
Inherited Members

Constructors

AuditsAdapter(IDevToolsSession)

Initializes a new instance of the AuditsAdapter class.

public AuditsAdapter(IDevToolsSession session)

Parameters

session IDevToolsSession

The IDevToolsSession to be used with this adapter.

Properties

Session

Gets the DevToolsSession associated with the adapter.

public IDevToolsSession Session { get; }

Property Value

IDevToolsSession

Methods

CheckContrast(CheckContrastCommandSettings, CancellationToken, int?, bool)

checkContrast

public Task<CheckContrastCommandResponse> CheckContrast(CheckContrastCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command CheckContrastCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<CheckContrastCommandResponse>

CheckFormsIssues(CheckFormsIssuesCommandSettings, CancellationToken, int?, bool)

checkFormsIssues

public Task<CheckFormsIssuesCommandResponse> CheckFormsIssues(CheckFormsIssuesCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command CheckFormsIssuesCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<CheckFormsIssuesCommandResponse>

Disable(DisableCommandSettings, CancellationToken, int?, bool)

disable

public Task<DisableCommandResponse> Disable(DisableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command DisableCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<DisableCommandResponse>

Enable(EnableCommandSettings, CancellationToken, int?, bool)

enable

public Task<EnableCommandResponse> Enable(EnableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command EnableCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<EnableCommandResponse>

GetEncodedResponse(GetEncodedResponseCommandSettings, CancellationToken, int?, bool)

getEncodedResponse

public Task<GetEncodedResponseCommandResponse> GetEncodedResponse(GetEncodedResponseCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetEncodedResponseCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetEncodedResponseCommandResponse>

Events

IssueAdded

issueAdded

public event EventHandler<IssueAddedEventArgs> IssueAdded

Event Type

EventHandler<IssueAddedEventArgs>