There is no supported way to automate Windows Hello sign-in with Playwright while the device is at the Windows sign-in or locked secure desktop.
Windows uses a separate secure desktop for sign-in and unlock, and normal applications or services should not expect to detect or drive custom input there. The supported direction for sign-in and unlock scenarios is to use Windows authentication features such as Windows Hello, Credential Providers, or smart cards.
For Windows Hello specifically, the sign-in experience is intentionally isolated. During active Windows Hello flows, input handling is controlled by the authentication provider, and there is no supported shortcut or parallel credential-entry path to bypass or accelerate that flow through automation.
For the scenario described, the practical outcome is:
- Windows Hello sign-in itself should be treated as a manual step.
- Playwright automation should begin only after the user has already signed in and the Windows session is unlocked.
- If the requirement is to validate authentication inside an app rather than OS sign-in, use app-level Windows Hello integration instead of trying to automate the Windows lock/sign-in UI.
For app-level verification, Windows provides supported APIs such as UserConsentVerifier.RequestVerificationAsync(...) so an app can require the signed-in user to verify with Windows Hello before a sensitive action. For backend-protected scenarios, the supported model is challenge/response using Windows Hello keys, where the private key remains on the device and the server verifies the signed challenge with the stored public key.
If the industrial requirement is specifically “automate Windows Hello at the OS sign-in screen,” that is not a supported Playwright scenario based on the documented Windows security boundary and supported authentication architecture.