Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a WebDriver Virtual Authenticator extension to allow automated testing #1236

Closed
nsatragno opened this issue Jun 18, 2019 · 0 comments · Fixed by #1256
Closed

Create a WebDriver Virtual Authenticator extension to allow automated testing #1236

nsatragno opened this issue Jun 18, 2019 · 0 comments · Fixed by #1256

Comments

@nsatragno
Copy link
Member

Currently there is no way for web developers to write automated tests that exercise the WebAuthn API. This problem is echoed on the WebAuthn WPT test suite - many of the tests assume mock authenticators that are not set up by any platform and so fail outright on all of them.

I propose creating a WebDriver extension defining an API that lets clients create and manipulate virtual authenticators that act transparently as any other authenticator on calls to the WebAuthn API. This would allow web developers to write tests and it would also allow rewriting the WPTs to use this API through testdriver.js.

The API at minimum should have commands to create and remove virtual authenticators, and to inject, inspect and remove credentials associated to them.

This would be similar to how the Generic Sensor API is automated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants