Class FedCmAdapter
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
IDevToolsSessionThe IDevToolsSession to be used with this adapter.
Properties
Session
Gets the DevToolsSession associated with the adapter.
public IDevToolsSession Session { get; }
Property Value
Methods
ClickDialogButton(ClickDialogButtonCommandSettings, CancellationToken, int?, bool)
clickDialogButton
public Task<ClickDialogButtonCommandResponse> ClickDialogButton(ClickDialogButtonCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
ClickDialogButtonCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Disable(DisableCommandSettings, CancellationToken, int?, bool)
disable
public Task<DisableCommandResponse> Disable(DisableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
DisableCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
DismissDialog(DismissDialogCommandSettings, CancellationToken, int?, bool)
dismissDialog
public Task<DismissDialogCommandResponse> DismissDialog(DismissDialogCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
DismissDialogCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Enable(EnableCommandSettings, CancellationToken, int?, bool)
enable
public Task<EnableCommandResponse> Enable(EnableCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
EnableCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
OpenUrl(OpenUrlCommandSettings, CancellationToken, int?, bool)
openUrl
public Task<OpenUrlCommandResponse> OpenUrl(OpenUrlCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
OpenUrlCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
ResetCooldown(ResetCooldownCommandSettings, CancellationToken, int?, bool)
resetCooldown
public Task<ResetCooldownCommandResponse> ResetCooldown(ResetCooldownCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
ResetCooldownCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SelectAccount(SelectAccountCommandSettings, CancellationToken, int?, bool)
selectAccount
public Task<SelectAccountCommandResponse> SelectAccount(SelectAccountCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SelectAccountCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Events
DialogClosed
dialogClosed
public event EventHandler<DialogClosedEventArgs> DialogClosed
Event Type
DialogShown
dialogShown
public event EventHandler<DialogShownEventArgs> DialogShown