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

Method get_credentials

py/selenium/webdriver/remote/webdriver.py:1769–1774  ·  view source on GitHub ↗

Returns the list of credentials owned by the authenticator.

(self)

Source from the content-addressed store, hash-verified

1767
1768 @_required_virtual_authenticator
1769 def get_credentials(self) -> list[Credential]:
1770 """Returns the list of credentials owned by the authenticator."""
1771 from selenium.webdriver.common.virtual_authenticator import Credential
1772
1773 credential_data = self.execute(Command.GET_CREDENTIALS, {"authenticatorId": self._authenticator_id})
1774 return [Credential.from_dict(credential) for credential in credential_data["value"]]
1775
1776 @_required_virtual_authenticator
1777 def remove_credential(self, credential_id: str | bytearray) -> None:

Callers 1

test_get_credentialsFunction · 0.80

Calls 2

executeMethod · 0.95
from_dictMethod · 0.80

Tested by 1

test_get_credentialsFunction · 0.64