Table of Contents

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

action VirtualWalletAction

The action of the virtual wallet.

protocol string

The protocol identifier (e.g. "openid4vp"). Required when |action| is "respond", forbidden otherwise.

response JsonElement?

The response data object returned by the wallet. Required when |action| is "respond", forbidden otherwise.

frameId FrameId

The frame to scope the virtual wallet behavior to.

session string

Optional CDP session override.

cancellationToken CancellationToken

A token to cancel the asynchronous operation.

Returns

Task<SetVirtualWalletBehaviorResult>

A task representing the asynchronous operation, containing a SetVirtualWalletBehaviorResult.