Interface IDigitalCredentials
- Namespace
- Selenium.WebDriver.BiDi.Cdp.DigitalCredentials
- Assembly
- Selenium.WebDriver.BiDi.Cdp.dll
This domain allows interacting with the Digital Credentials API for automation.
[Experimental("BIDICDP001")]
public interface IDigitalCredentials
Methods
SetVirtualWalletBehaviorAsync(VirtualWalletAction, string?, JsonElement?, FrameId?, string?, CancellationToken)
Sets the behavior of the virtual wallet for digital credential requests issued from this frame.
Task<SetVirtualWalletBehaviorResult> SetVirtualWalletBehaviorAsync(VirtualWalletAction action, string? protocol = null, JsonElement? response = null, FrameId? frameId = null, string? session = null, CancellationToken cancellationToken = default)
Parameters
actionVirtualWalletActionThe action of the virtual wallet.
protocolstringThe protocol identifier (e.g. "openid4vp"). Required when |action| is "respond", forbidden otherwise.
responseJsonElement?The response data object returned by the wallet. Required when |action| is "respond", forbidden otherwise.
frameIdFrameIdThe frame to scope the virtual wallet behavior to.
sessionstringOptional CDP session override.
cancellationTokenCancellationTokenA token to cancel the asynchronous operation.
Returns
- Task<SetVirtualWalletBehaviorResult>
A task representing the asynchronous operation, containing a SetVirtualWalletBehaviorResult.