Virtual Authenticator A representation of the Web Authenticator model.
Web applications can enable a public key-based authentication mechanism known as Web Authentication to authenticate users in a passwordless manner.
Web Authentication defines APIs that allows a user to create a public-key credential and register it with an authenticator.
An authenticator can be a hardware device or a software entity that stores user’s public-key credentials and retrieves them on request.
As the name suggests, Virtual Authenticator emulates such authenticators for testing.
Virtual Authenticator Options A Virtual Authenticatior has a set of properties .
These properties are mapped as VirtualAuthenticatorOptions in the Selenium bindings.
Java
CSharp
Ruby
Python
JavaScript
Kotlin /examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java
Copy
Close
/examples/dotnet/SeleniumDocs/Interactions/VirtualAuthenticatorTest.cs
Copy
Close
/examples/python/tests/interactions/test_virtual_authenticator.py
Copy
Close
/examples/javascript/test/virtual_authenticator/virtualAuthenticatorOptions.spec.js
Copy
Close
Add Virtual Authenticator It creates a new virtual authenticator with the provided properties.
Java
CSharp
Ruby
Python
JavaScript
Kotlin /examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java
Copy
Close
/examples/dotnet/SeleniumDocs/Interactions/VirtualAuthenticatorTest.cs
Copy
Close
/examples/python/tests/interactions/test_virtual_authenticator.py
Copy
Close
/examples/javascript/test/virtual_authenticator/virtualAuthenticator.spec.js
Copy
Close
Remove Virtual Authenticator Removes the previously added virtual authenticator.
Java
CSharp
Ruby
Python
JavaScript
Kotlin /examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java
Copy
Close
/examples/dotnet/SeleniumDocs/Interactions/VirtualAuthenticatorTest.cs
Copy
Close
/examples/python/tests/interactions/test_virtual_authenticator.py
Copy
Close
/examples/javascript/test/virtual_authenticator/virtualAuthenticator.spec.js
Copy
Close
Create Resident Credential Creates a resident (stateful) credential with the given required credential parameters .
Java
CSharp
Ruby
Python
JavaScript
Kotlin /examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java
Copy
Close
/examples/dotnet/SeleniumDocs/Interactions/VirtualAuthenticatorTest.cs
Copy
Close
/examples/python/tests/interactions/test_virtual_authenticator.py
Copy
Close
/examples/javascript/test/virtual_authenticator/virtualAuthenticator.spec.js
Copy
Close
Create Non-Resident Credential Creates a resident (stateless) credential with the given required credential parameters .
Java
CSharp
Ruby
Python
JavaScript
Kotlin /examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java
Copy
Close
/examples/dotnet/SeleniumDocs/Interactions/VirtualAuthenticatorTest.cs
Copy
Close
/examples/python/tests/interactions/test_virtual_authenticator.py
Copy
Close
/examples/javascript/test/virtual_authenticator/virtualAuthenticator.spec.js
Copy
Close
Add Credential Registers the credential with the authenticator.
Java
CSharp
Ruby
Python
JavaScript
Kotlin /examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java
Copy
Close
/examples/dotnet/SeleniumDocs/Interactions/VirtualAuthenticatorTest.cs
Copy
Close
/examples/python/tests/interactions/test_virtual_authenticator.py
Copy
Close
/examples/javascript/test/virtual_authenticator/virtualAuthenticator.spec.js
Copy
Close
Get Credential Returns the list of credentials owned by the authenticator.
Java
CSharp
Ruby
Python
JavaScript
Kotlin /examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java
Copy
Close
/examples/dotnet/SeleniumDocs/Interactions/VirtualAuthenticatorTest.cs
Copy
Close
/examples/python/tests/interactions/test_virtual_authenticator.py
Copy
Close
/examples/javascript/test/virtual_authenticator/virtualAuthenticator.spec.js
Copy
Close
Remove Credential Removes a credential from the authenticator based on the passed credential id.
Java
CSharp
Ruby
Python
JavaScript
Kotlin /examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java
Copy
Close
/examples/dotnet/SeleniumDocs/Interactions/VirtualAuthenticatorTest.cs
Copy
Close
/examples/python/tests/interactions/test_virtual_authenticator.py
Copy
Close
Remove All Credentials Removes all the credentials from the authenticator.
Java
CSharp
Ruby
Python
JavaScript
Kotlin /examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java
Copy
Close
/examples/dotnet/SeleniumDocs/Interactions/VirtualAuthenticatorTest.cs
Copy
Close
/examples/python/tests/interactions/test_virtual_authenticator.py
Copy
Close
/examples/javascript/test/virtual_authenticator/virtualAuthenticator.spec.js
Copy
Close
Set User Verified Sets whether the authenticator will simulate success or fail on user verification.
Java
CSharp
Ruby
Python
JavaScript
Kotlin /examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java
Copy
Close
/examples/dotnet/SeleniumDocs/Interactions/VirtualAuthenticatorTest.cs
Copy
Close
/examples/python/tests/interactions/test_virtual_authenticator.py
Copy
Close
/examples/javascript/test/virtual_authenticator/virtualAuthenticator.spec.js
Copy
Close