Implement navigator.credentials
APIs to be executable on Node.js
#649
Replies: 2 comments 1 reply
-
Hello @mirismaili, for something like this I'd recommend stubbing I used to use Jest for this before the big rewrite recently so if you go back in time a few dozen commits, to before #634, you can see the Jest-specific version of this same test. I hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Hello @MasterKale, Thanks. Is this way usable for my second use case too (automating the login process on a website using passkey)? |
Beta Was this translation helpful? Give feedback.
-
For testing scenarios, I need to perform client-side actions in non-browser environments, such as Node.js.
Another use case is automating the login process on a website (using a passkey) via a script running on Node.js. This script should at least be able to perform the actions
navigator.credentials.create
andnavigator.credentials.get
on Node.js.However, I couldn't find such functionality anywhere.
Beta Was this translation helpful? Give feedback.
All reactions