unstale

npm / @playwright/test

@playwright/test

What changed in @playwright/test 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-17.

16 breaking6 deprecations23 new APIs and options1 performance9 behavior and defaults5 tooling21 fixes and other

@playwright/test 181 changes

Breaking changes 16

  • Elements inside non-visible iframes are now considered hidden by actions and visibility checks.

    1.64.0release notes

  • JSX compilation now follows tsconfig.json JSX settings and defaults to the automatic react/jsx-runtime.

    1.64.0release notes

  • Ubuntu 20.04 is no longer supported by Playwright.

    1.63.0release notes

  • Debian 11 is no longer supported by this release.

    1.62.0release notes

  • Removes the long-deprecated videoSize context option; use recordVideo instead.

    1.60.0release notes

  • Removes the long-deprecated videosPath context option; use recordVideo instead.

    1.60.0release notes

  • Removes the long-deprecated handle option from BrowserContext.exposeBinding and Page.exposeBinding.

    1.60.0release notes

  • The test runner now errors when configuration attempts to override a non-option fixture.

    1.60.0release notes

  • The test runner rejects workers values of 0 or negative numbers.

    1.60.0release notes

  • The JUnit reporter now distinguishes error types, causing some previous failure elements to be reported as error elements.

    1.59.0release notes

  • WebKit no longer supports macOS 14.

    1.59.0release notes

  • The experimental Svelte component testing package was removed.

    1.59.0release notes

  • The :light selector engine suffix has been removed; standard CSS selectors should be used instead.

    1.58.0release notes

  • WebKit no longer supports macOS 13; developers should upgrade macOS or keep using an older Playwright version.

    1.58.0release notes

  • Page#accessibility was removed after three years of deprecation; use other libraries such as Axe for accessibility testing.

    1.57.0release notes

  • The workspaceFolder reference was removed from the VS Code MCP integration.

    1.56.1release notes

Deprecations 6

  • The fontSize video decoration option is deprecated and replaced by style.

    1.64.0release notes

  • The experimental package will no longer be updated; users should migrate to the stories model.

    1.63.0release notes

  • The experimental package will no longer be updated; users should migrate to the stories model.

    1.63.0release notes

  • The experimental package will no longer be updated; users should migrate to the stories model.

    1.63.0release notes

  • columnNumber is deprecated in favor of the column property.

    1.60.0release notes

  • lineNumber is deprecated in favor of the line property.

    1.60.0release notes

New APIs and options 23

  • Calls a WebMCP tool with parameters through the Playwright CLI.

    1.64.0release notes

  • Schedules tests in random order and accepts a seed to reproduce the order.

    1.64.0release notes

  • Tests and test.describe groups can declare named locks to prevent concurrent execution across files, workers and projects.

    1.63.0release notes

  • Reporter omitTags suppresses tags automatically appended to test titles.

    1.63.0release notes

  • Adds a command-line option that appends a reporter to configured reporters instead of replacing them.

    1.63.0release notes

  • Adds HTTP authentication credentials when recording pages with codegen.

    1.63.0release notes

  • Keeps browsers belonging to other Playwright installations instead of removing them.

    1.63.0release notes

  • Actions can opt out of Playwright's automatic scroll-into-view behavior.

    1.62.0release notes

  • The HTML report's Merge files grouping can now be enabled from reporter configuration.

    1.62.0release notes

  • Screenshot assertions can store visual snapshots in lossless WebP format when the snapshot name ends in .webp.

    1.62.0release notes

  • Tears down a mounted component within a test.

    1.62.0release notes

  • Re-renders a mounted component with updated props within a test.

    1.62.0release notes

  • Adds support for polling assertions with soft expectations.

    1.61.0release notes

  • Adds a command-line shorthand for --grep-invert.

    1.61.0release notes

  • Connects playwright-cli to a browser bound by browser.bind.

    1.59.0release notes

  • Opens a Dashboard listing bound browsers and allowing interaction and DevTools access.

    1.59.0release notes

  • Enables dashboard visibility for all @playwright/test browsers when set to 1.

    1.59.0release notes

  • Disables navigator.platform emulation as a workaround for Ctrl or Meta dispatching errors.

    1.59.0release notes

  • Attaches and debugs tests over playwright-cli for agentic workflows.

    1.59.0release notes

  • Adds retain-on-failure-and-retries, recording each test run and retaining all traces when an attempt fails.

    1.59.0release notes

  • UI Mode and Trace Viewer add a system theme option that follows the operating system dark/light mode preference.

    1.58.0release notes

  • This environment variable opts out of dispatching Service Worker console messages through worker.on('console').

    1.57.0release notes

  • This environment variable opts out of reporting and routing network requests issued by Service Workers.

    1.57.0release notes

Performance 1

  • Videos use VP9 instead of VP8, reducing CPU usage and file size at comparable quality.

    1.64.0release notes

Behavior and default changes 9

  • The cursor remains visible at the last action point, survives navigations, and follows a natural eased path.

    1.64.0release notes

  • Custom matchers with the same name as default matchers now override the default implementation in the same expect instance.

    1.61.1release notes

  • HAR recordings now include WebSocket requests.

    1.61.0release notes

  • Trace recordings now include WebSocket requests.

    1.61.0release notes

  • JSON responses in UI Mode and Trace Viewer are now automatically formatted for readability.

    1.58.0release notes

  • The network details panel has been reorganized to improve usability.

    1.58.0release notes

  • Locator.toString() now uses the locator description when one is available.

    1.57.0release notes

  • Chromium now allows the local-network-access permission.

    1.56.1release notes

  • Test configuration resolution now falls back to the current working directory.

    1.56.1release notes

Tooling 5

  • The HTML report now renders a duration waterfall alongside test steps.

    1.63.0release notes

  • Accepts .zip files directly, so reports no longer need to be unzipped first.

    1.60.0release notes

  • Code editors in UI Mode and Trace Viewer now support Cmd/Ctrl+F search.

    1.58.0release notes

  • Playwright adds an official token-efficient CLI mode with an initial essential command set designed to be coding agent-friendly.

    1.58.0release notes

  • The HTML reporter adds a Speedboard tab that sorts executed tests by slowness to help identify slow tests.

    1.57.0release notes

Fixes and other changes 21

  • Intermittently no longer loses a packaged app's first window.

    1.64.1release notes

  • Chromium 155+ no longer aborts the redirect when any route is registered.

    1.64.1release notes

  • The unspecified snapshot update mode is now named default and retains the previous behavior.

    1.64.0release notes

  • The missing mode now passes runs when tests only create missing snapshots.

    1.64.0release notes

  • Button names are preserved when text is nested inside spans with aria-hidden SVG.

    1.62.1release notes

  • Image-type actionable elements are presented in accessibility snapshots.

    1.62.1release notes

  • Arguments using branded primitive types such as string & { brand } type-check correctly again.

    1.62.1release notes

  • Bare-specifier tsconfig extends values are resolved through the node_modules walk-up like tsc.

    1.62.1release notes

  • Directory-form tsconfig project references resolve correctly again.

    1.62.1release notes

  • Fixed unexpected byte counts reported by apiRequestContext._wrapApiCall in Playwright UI mode.

    1.61.1release notes

  • Fixed extensionless .ts subpath import resolution across pnpm workspace symlinks.

    1.61.1release notes

  • Fixed the sync loader throwing an error on Node 22.15.

    1.61.1release notes

  • WebSocket message times are no longer incorrectly downscaled by 1000 in Trace viewer.

    1.61.1release notes

  • Playwright now supports Ubuntu 26.04.

    1.61.0release notes

  • On Windows, browser processes no longer hide the console window, fixing regressions in codegen, --ui and show commands.

    1.59.1release notes

  • Chromium on macOS is no longer forced to use SwiftShader.

    1.58.2release notes

  • Trace viewer now handles paths provided via standard input.

    1.58.2release notes

  • Fixed local network permissions for Microsoft Edge.

    1.58.1release notes

  • The bundled Chromium version is now 145.0.7632.6.

    1.58.0release notesrelease notes

  • The bundled Mozilla Firefox version is now 146.0.1.

    1.58.0release notesrelease notes

  • The bundled WebKit version is now 26.0.

    1.58.0release notesrelease notes