v1.61.1

microsoft/playwrightv1.61.1Jun 23, 2026by dgozman

AI Summary

This maintenance release focuses on bug fixes and regressions, addressing issues with Expect matchers, API request reporting in UI mode, trace viewer timestamps, and compatibility with Node 22.15 and pnpm workspaces.

Key Highlights

  • Fixed Expect.Extend matcher overriding default matchers in the same instance.
  • Corrected unexpected byte reporting in UI mode for apiRequestContext.
  • Fixed WebSocket message times being downscaled by 1000 in the trace viewer.
  • Resolved regression where Sync loader throws errors on Node 22.15.
  • Fixed Sync ESM loader failing to resolve extensionless .ts subpath imports across pnpm workspace symlinks.

Full Release Notes

### Bug Fixes

- #41365 [Bug]: Expect.Extend matcher with same name as default matcher in same expect instance overrides default matchers implementation to custom matcher
- #41351 [Bug]: Playwright UI mode: apiRequestContext._wrapApiCall reports unexpected number of bytes (same test passes in headed mode)
- #41360 [Bug]: Trace viewer: message times in websockets are downscaled by 1000
- #41311 [Bug]: [Regression]: Sync loader throws "context.conditions?.includes is not a function" on Node 22.15
- #41371 [Regression]: Sync ESM loader (registerHooks) fails to resolve extensionless .ts subpath imports across pnpm workspace symlinks