getClientCapabilitiesAsync
The getClientCapabilities()
static method of the PublicKeyCredential interface returns a Promise that resolves with an object that can be used to check whether or not particular WebAuthn client capabilities and extensions are supported.