Table of Contents

Class FedCmAdapter

Namespace
OpenQA.Selenium.DevTools.V131.FedCm
Assembly
WebDriver.dll

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

public class FedCmAdapter
Inheritance
FedCmAdapter
Inherited Members

Constructors

FedCmAdapter(IDevToolsSession)

Initializes a new instance of the FedCmAdapter class.

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

ClickDialogButton(ClickDialogButtonCommandSettings, CancellationToken, int?, bool)

clickDialogButton

public Task<ClickDialogButtonCommandResponse> ClickDialogButton(ClickDialogButtonCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command ClickDialogButtonCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<ClickDialogButtonCommandResponse>

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>

DismissDialog(DismissDialogCommandSettings, CancellationToken, int?, bool)

dismissDialog

public Task<DismissDialogCommandResponse> DismissDialog(DismissDialogCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command DismissDialogCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<DismissDialogCommandResponse>

Enable(EnableCommandSettings, CancellationToken, int?, bool)

enable

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

Parameters

command EnableCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<EnableCommandResponse>

OpenUrl(OpenUrlCommandSettings, CancellationToken, int?, bool)

openUrl

public Task<OpenUrlCommandResponse> OpenUrl(OpenUrlCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command OpenUrlCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<OpenUrlCommandResponse>

ResetCooldown(ResetCooldownCommandSettings, CancellationToken, int?, bool)

resetCooldown

public Task<ResetCooldownCommandResponse> ResetCooldown(ResetCooldownCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command ResetCooldownCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<ResetCooldownCommandResponse>

SelectAccount(SelectAccountCommandSettings, CancellationToken, int?, bool)

selectAccount

public Task<SelectAccountCommandResponse> SelectAccount(SelectAccountCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SelectAccountCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SelectAccountCommandResponse>

Events

DialogClosed

dialogClosed

public event EventHandler<DialogClosedEventArgs> DialogClosed

Event Type

EventHandler<DialogClosedEventArgs>

DialogShown

dialogShown

public event EventHandler<DialogShownEventArgs> DialogShown

Event Type

EventHandler<DialogShownEventArgs>