Method: Selenium::WebDriver::VirtualAuthenticator#add_credential

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

#add_credential(credential) ⇒ Object

[View source]

37
38
39
40
# File 'lib/selenium/webdriver/common/virtual_authenticator/virtual_authenticator.rb', line 37

def add_credential(credential)
  credential = credential.as_json
  @bridge.add_credential credential, @id
end