Class: Selenium::WebDriver::BiDi::Protocol::DigitalCredentials Private

Inherits:
Domain
  • Object
show all
Defined in:
lib/selenium/webdriver/bidi/protocol/digital_credentials.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Constant Summary collapse

VIRTUAL_WALLET_ACTION =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

{
  decline: 'decline',
  respond: 'respond',
  wait: 'wait',
  clear: 'clear'
}.freeze
SetVirtualWalletBehaviorParameters =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Serialization::Record.define(
  action: {wire_key: 'action', enum: 'DigitalCredentials::VIRTUAL_WALLET_ACTION'},
  context: {wire_key: 'context', required: false, primitive: 'string'},
  protocol: {wire_key: 'protocol', required: false, primitive: 'string'},
  response: {wire_key: 'response', required: false}
)

Instance Method Summary collapse

Methods inherited from Domain

#initialize

Constructor Details

This class inherits a constructor from Selenium::WebDriver::BiDi::Protocol::Domain

Instance Method Details

#set_virtual_wallet_behavior(action:, context: Serialization::UNSET, protocol: Serialization::UNSET, response: Serialization::UNSET) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# File 'lib/selenium/webdriver/bidi/protocol/digital_credentials.rb', line 50

def set_virtual_wallet_behavior(
  action:,
  context: Serialization::UNSET,
  protocol: Serialization::UNSET,
  response: Serialization::UNSET
)
  Serialization.validate!('action', action, DigitalCredentials::VIRTUAL_WALLET_ACTION)
  params = SetVirtualWalletBehaviorParameters.new(
    action: action,
    context: context,
    protocol: protocol,
    response: response
  )
  execute(cmd: 'digitalCredentials.setVirtualWalletBehavior', params: params)
end