Method: Practical::Test::Helpers::Passkey::System::Selenium#authenticator_options

Defined in:
app/lib/practical/test/helpers/passkey/system/selenium.rb

#authenticator_options(options: {}) ⇒ Object



59
60
61
62
63
64
65
66
67
# File 'app/lib/practical/test/helpers/passkey/system/selenium.rb', line 59

def authenticator_options(options: {})
  options = options.reverse_merge({
    protocol: :ctap2,
    resident_key: true,
    user_verification: true,
    user_verified: true
  })
  Selenium::WebDriver::VirtualAuthenticatorOptions.new(**options)
end