MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / addCredential

Method addCredential

javascript/selenium-webdriver/lib/webdriver.js:1638–1642  ·  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

1636 * @param credential Credential to be added
1637 */
1638 async addCredential(credential) {
1639 credential = credential.toDict()
1640 credential['authenticatorId'] = this.authenticatorId_
1641 await this.execute(new command.Command(command.Name.ADD_CREDENTIAL).setParameters(credential))
1642 }
1643
1644 /**
1645 *

Callers

nothing calls this directly

Calls 3

executeMethod · 0.95
setParametersMethod · 0.80
toDictMethod · 0.45

Tested by

no test coverage detected