MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / addCredential

Method addCredential

javascript/selenium-webdriver/lib/webdriver.js:1683–1687  ·  view source on GitHub ↗

* Injects a credential into the authenticator. * @param credential Credential to be added

(credential)

Source from the content-addressed store, hash-verified

1681 * @param credential Credential to be added
1682 */
1683 async addCredential(credential) {
1684 credential = credential.toDict()
1685 credential['authenticatorId'] = this.authenticatorId_
1686 await this.execute(new command.Command(command.Name.ADD_CREDENTIAL).setParameters(credential))
1687 }
1688
1689 /**
1690 *

Callers

nothing calls this directly

Calls 3

executeMethod · 0.95
setParametersMethod · 0.80
toDictMethod · 0.45

Tested by

no test coverage detected