Skip to content

feat(webauthn): include credentials in storageState#41215

Open
dgozman wants to merge 1 commit into
microsoft:mainfrom
dgozman:storagestate-credentials
Open

feat(webauthn): include credentials in storageState#41215
dgozman wants to merge 1 commit into
microsoft:mainfrom
dgozman:storagestate-credentials

Conversation

@dgozman

@dgozman dgozman commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • context.storageState({ credentials: true }) now captures the context's virtual WebAuthn credentials (opt-in, like indexedDB).
  • When a storage state passed to browser.newContext({ storageState }) or context.setStorageState() contains credentials, they are re-seeded and the virtual authenticator is installed automatically.
  • Docs updated: class-credentials, the storage-state option, and the authentication guide.

Capture the context's virtual WebAuthn credentials with
`storageState({ credentials: true })`, and restore them (installing the
authenticator) when a storage state is supplied via the `storageState`
option or `setStorageState`.
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Test results for "MCP"

1 failed
❌ [chromium] › mcp/annotate.spec.ts:273 › should enter annotate mode on fresh dashboard.tsx mount with -s --annotate @mcp-windows-latest-chromium

7265 passed, 1119 skipped


Merge workflow run.

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

2 flaky ⚠️ [webkit-library] › library/browsertype-connect.spec.ts:792 › launchServer › should upload a folder `@webkit-ubuntu-22.04-node20`
⚠️ [playwright-test] › ui-mode-test-watch.spec.ts:185 › should watch new file `@windows-latest-node22`

39508 passed, 774 skipped


Merge workflow run.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant