| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-06-29 | 3.3 kB | |
| v1.61.0 source code.tar.gz | 2026-06-29 | 2.3 MB | |
| v1.61.0 source code.zip | 2026-06-29 | 2.7 MB | |
| Totals: 3 Items | 4.9 MB | 2 | |
đ WebAuthn passkeys
New Credentials virtual authenticator, available via browserContext.credentials (playwright.dev), lets tests register passkeys and answer navigator.credentials.create() / navigator.credentials.get() ceremonies in the page â no real hardware key required, works in all browsers:
:::java
BrowserContext context = browser.newContext();
// Seed a passkey your backend provisioned for a test user.
context.credentials().create("example.com", new Credentials.CreateOptions()
.setId(credentialId)
.setUserHandle(userHandle)
.setPrivateKey(privateKey)
.setPublicKey(publicKey));
context.credentials().install();
Page page = context.newPage();
page.navigate("https://example.com/login");
// The page's navigator.credentials.get() is answered with the seeded passkey.
You can also let the app register a passkey once in a setup test, read it back with credentials.get() (playwright.dev), and seed it into later tests â see Credentials for details.
đď¸ Web Storage
New WebStorage API, available via page.localStorage (playwright.dev) and page.sessionStorage (playwright.dev), reads and writes the page's storage for the current origin:
:::java
page.localStorage().setItem("token", "abc");
String token = page.localStorage().getItem("token");
List<NameValue> items = page.sessionStorage().items();
New APIs
- apiResponse.securityDetails() (playwright.dev) and apiResponse.serverAddr() (playwright.dev) mirror the browser-side response.securityDetails() (playwright.dev) and response.serverAddr() (playwright.dev).
- New option
artifactsDirin browserType.connectOverCDP() (playwright.dev) controls where artifacts such as traces and downloads are stored when attached to an existing browser. - New option
cursorin screencast.showActions() (playwright.dev) controls the cursor decoration rendered for pointer actions. - The
onFramecallback in screencast.start() (playwright.dev) now receives atimestampof when the frame was presented by the browser.
đ ď¸ Other improvements
- Playwright now supports Ubuntu 26.04.
- HAR and trace recordings now include WebSocket requests.
Browser Versions
- Chromium 149.0.7827.55
- Mozilla Firefox 151.0
- WebKit 26.5
This version was also tested against the following stable channels:
- Google Chrome 149
- Microsoft Edge 149