Table of Contents

Class AccessibilityAdapter

Namespace
OpenQA.Selenium.DevTools.V85.Accessibility
Assembly
WebDriver.dll

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

public class AccessibilityAdapter
Inheritance
AccessibilityAdapter
Inherited Members

Constructors

AccessibilityAdapter(IDevToolsSession)

Initializes a new instance of the AccessibilityAdapter class.

public AccessibilityAdapter(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

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>

GetFullAXTree(GetFullAXTreeCommandSettings, CancellationToken, int?, bool)

getFullAXTree

public Task<GetFullAXTreeCommandResponse> GetFullAXTree(GetFullAXTreeCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetFullAXTreeCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetFullAXTreeCommandResponse>

GetPartialAXTree(GetPartialAXTreeCommandSettings, CancellationToken, int?, bool)

getPartialAXTree

public Task<GetPartialAXTreeCommandResponse> GetPartialAXTree(GetPartialAXTreeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetPartialAXTreeCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetPartialAXTreeCommandResponse>