@playwright/test@1.64.0
Wait — 1.64.1 is the safer choice for now.
44 issues mention 1.64.0 within 14 days of release (usual for this project: 14).
Why this verdict
- 44 issues mention 1.64.0 within 14 days of release (usual for this project: 14).Evidence
- Release notes list 5 breaking changes: The screen property is now forwarded from device descriptors, affecting window.screen and media queries.Evidence
Confidence 100% · algorithm v1 · computed 2026-10-19. How verdicts work
Supply chain and security
- Malware reports
- None known (OSV)
- Known advisories
- None known (OSV)
- License
- Apache-2.0
- Install scripts
- None
- Build provenance
- Signed provenance
- Weekly downloads
- 4,606,516
Compatibility
No compatibility boundary is crossed: this is a patch or minor release on a stable major.
Breaking changes in the release notes
- The screen property is now forwarded from device descriptors, affecting window.screen and media queries.“⚠️ screen property is now forwarded from the device descriptors. If you use ...devices['Desktop Chrome'] and alike, window.screen and media queries now see the emulated screen size. You can opt out by explicitly setting screen to undefined”
- JSX compilation in test files now follows tsconfig.json settings.“JSX in your test files now follows your tsconfig.json. Playwright compiles JSX in test files according to the jsx, jsxFactory, jsxFragmentFactory and jsxImportSource tsconfig options”
- The "missing" snapshot update mode now passes the test run, changing previous failure behavior.“update snapshots=missing now passes the test run. Tests that only create missing snapshots now pass in the 'missing' mode of testConfig.updateSnapshots”
- The default snapshot update mode is now named "default" and behaves as before, but the name change may affect scripts.“The mode used when the option is not specified is now called 'default' and behaves as before”
- Elements inside hidden iframes are now considered hidden by actions and visibility checks.“Elements inside hidden iframes are considered hidden. Elements inside an iframe that is not visible, for example with visibility: hidden, are now considered hidden by actions, locator.isVisible() and expect(locator).toBeVisible()”
AI-extracted from the official release notes and checked against the quoted text. Read the source
44 issues mention this version in microsoft/playwright so far (14-day window still open). See them on GitHub
Check the official release notes below for behaviour changes before merging.
Release notes
Read the Playwright changelog on Changes.Watch or the package page on npm for this version’s features and fixes.
New in this release
- Added page.webmcp and frame.webmcp to access experimental WebMCP tools.“New page.webmcp and frame.webmcp give access to the tools that a page registers through the experimental WebMCP browser API”
- Videos can now be recorded at a custom frame rate with a new fps option.“New fps option in testOptions.video, recordVideo and screencast.start()”
- Added a new style option for video decorations that replaces the deprecated fontSize option.“New style option takes CSS declarations for the point marker, the target highlight and the action title. It replaces the fontSize option, which is now deprecated.”
- Videos are now encoded with VP9 instead of VP8, reducing CPU usage and file size.“Videos are encoded with VP9 instead of VP8, which takes less CPU and produces smaller files of the same or better quality.”
- Introduced testProject.default option to keep a project in the config without running it by default.“New testProject.default option keeps a project in the config without running it by default.”
- Added a shuffle command‑line option to run tests in random order.“New shuffle command line option schedules tests in a random order”
- Added a lock option in test.describe.configure() to apply test locks to a file or group.“New lock option in test.describe.configure() adds test locks to all tests in a file or a group”
- Added a type option to toHaveScreenshot to store unnamed screenshots as WebP.“New type option of toHaveScreenshot in testConfig.expect stores all unnamed screenshots as WebP”
AI-extracted from the official release notes and checked against the quoted text. Read the source
Deprecations and deadlines
The maintainer has not deprecated this version on npm.
Deprecations announced in this release
- The fontSize option for video style is now deprecated.“It replaces the fontSize option, which is now deprecated”
AI-extracted from the official release notes and checked against the quoted text. Read the source