Class: Booth::Test::Webauthn::VirtualAuthenticators::Create
- Inherits:
-
Object
- Object
- Booth::Test::Webauthn::VirtualAuthenticators::Create
- Includes:
- Logging, MethodObject
- Defined in:
- lib/booth/test/webauthn/virtual_authenticators/create.rb
Instance Method Summary collapse
Methods included from MethodObject
Instance Method Details
#call ⇒ Object
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/booth/test/webauthn/virtual_authenticators/create.rb', line 12 def call = ::Selenium::WebDriver::VirtualAuthenticatorOptions.new .user_verification = has_user_verification .user_verified = true debug { "Registering Virtual Authenticator... #{.as_json}" } page.driver.browser.add_virtual_authenticator() # debug { "Created #{authenticator.id}" } end |