Method: Selenium::WebDriver::VirtualAuthenticatorOptions#as_json

Defined in:
lib/selenium/webdriver/common/virtual_authenticator/virtual_authenticator_options.rb

#as_jsonObject

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.

[View source]

52
53
54
55
56
57
58
59
# File 'lib/selenium/webdriver/common/virtual_authenticator/virtual_authenticator_options.rb', line 52

def as_json(*)
  {'protocol' => PROTOCOL[protocol],
   'transport' => TRANSPORT[transport],
   'hasResidentKey' => resident_key?,
   'hasUserVerification' => user_verification?,
   'isUserConsenting' => user_consenting?,
   'isUserVerified' => user_verified?}
end