v1.61.0
New Credentials virtual authenticator, available via browserContext.credentials, 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:
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(), and seed it into later tests — see Credentials for details.
New WebStorage API, available via page.localStorage and page.sessionStorage, reads and writes the page's storage for the current origin:
page.localStorage().setItem("token", "abc");
String token = page.localStorage().getItem("token");
List<NameValue> items = page.sessionStorage().items();
- apiResponse.securityDetails() and apiResponse.serverAddr() mirror the browser-side response.securityDetails() and response.serverAddr().
- New option
artifactsDirin browserType.connectOverCDP() controls where artifacts such as traces and downloads are stored when attached to an existing browser. - New option
cursorin screencast.showActions() controls the cursor decoration rendered for pointer actions. - The
onFramecallback in screencast.start() now receives atimestampof when the frame was presented by the browser.
- Playwright now supports Ubuntu 26.04.
- HAR and trace recordings now include WebSocket requests.
- 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
v5.14.3
SOFARPC v5.14.3 introduces Apache Fory (formerly Fury) serialization support and fixes several issues in the Triple protocol and proxy generation, improving serialization performance and stability. (Requires JDK8 support)
- Apache Fory serialization support - Added Apache Fory serialization for SOFARPC by @sunhailin-Leo in #1551
- Increased gRPC message max size - Changed gRPC message max size to
Integer.MAX_VALUEby @EvenLjj in #1567
- Triple request baggage - Parse request baggage from Triple headers on the server side by @EvenLjj in #1565
- StreamObserver thread-safety - Added thread-safety for concurrent
onNextcalls on StreamObserver by @EvenLjj in #1564 - JavassistProxy duplicate methods - Deduplicate methods in JavassistProxy to prevent
DuplicateMemberExceptionby @sunhailin-Leo in #1554 - Fory FGC - Avoid redundant Fury instance recreation to prevent FGC by @sunhailin-Leo in #1553
- Fory 1.0.0 upgrade - Updated Fory version to 1.0.0 and removed unnecessary classloader setting by @sunhailin-Leo in #1563