Playwright Java Passkey Fix
Budget / SalaryHourly project
TypeFreelance project
LocationRemote
Posted2 hours ago
I already have a Playwright test suite written in Java that sails through our regular username-password flow, yet it stalls the moment FIDO2 passkey (biometric) authentication is triggered on the desktop version of our site. I need you to pinpoint why the WebAuthn prompt isn’t being handled, adjust the script so it completes a successful passkey sign-in every run, and commit the fix back to the repo.
You will have access to: the existing Playwright-Java project, a staging environment where passkeys are enabled, and a dummy account with an enrolled Windows Hello credential. The expectation is that the test can launch in Chrome, Edge, and Firefox, reach the WebAuthn dialog, simulate or accept the platform authenticator, and land on the post-login dashboard without manual intervention.
Deliverables
• Updated Playwright Java code that handles desktop WebAuthn/passkey sign-in
• Any helper utilities or mock modules you add, fully documented in-code
• A concise README section explaining how to run the new test locally and in CI
Acceptance criteria
– Running `mvn test` executes the passkey scenario end-to-end with no failures
– Works headless and headed on the three main desktop browsers
– No regressions introduced to the existing username-password tests
If you have prior experience automating WebAuthn flows with Playwright’s `browserContext.addInitScript` or similar workarounds, you’ll feel right at home. Let’s get this authentication hurdle cleared quickly.
You will have access to: the existing Playwright-Java project, a staging environment where passkeys are enabled, and a dummy account with an enrolled Windows Hello credential. The expectation is that the test can launch in Chrome, Edge, and Firefox, reach the WebAuthn dialog, simulate or accept the platform authenticator, and land on the post-login dashboard without manual intervention.
Deliverables
• Updated Playwright Java code that handles desktop WebAuthn/passkey sign-in
• Any helper utilities or mock modules you add, fully documented in-code
• A concise README section explaining how to run the new test locally and in CI
Acceptance criteria
– Running `mvn test` executes the passkey scenario end-to-end with no failures
– Works headless and headed on the three main desktop browsers
– No regressions introduced to the existing username-password tests
If you have prior experience automating WebAuthn flows with Playwright’s `browserContext.addInitScript` or similar workarounds, you’ll feel right at home. Let’s get this authentication hurdle cleared quickly.
Apply on Freelancer →
Project sourced from Freelancer.com. Applications happen directly on the original platform — we never collect your data.