Overview of virtual WebAuthn authenticator (Credentials)
Credentials is a virtual WebAuthn authenticator scoped to a BrowserContext. It enables tests to register passkeys and respond to navigator.credentials.create() and navigator.credentials.get() ceremonies within a page without needing a real hardware security key. To activate the virtual authenticator, you must call InstallAsync() before the page interacts with navigator.credentials.