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

Method addCredential

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

1643 * @param credential Credential to be added
1644 */
1645 async addCredential(credential) {
1646 credential = credential.toDict()
1647 credential['authenticatorId'] = this.authenticatorId_
1648 await this.execute(new command.Command(command.Name.ADD_CREDENTIAL).setParameters(credential))
1649 }
1650
1651 /**
1652 *

Callers

nothing calls this directly

Calls 3

executeMethod · 0.95
setParametersMethod · 0.80
toDictMethod · 0.45

Tested by

no test coverage detected