unstale

npm / playwright

playwright

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

17 breaking4 deprecations39 new APIs and options1 performance9 behavior and defaults2 tooling25 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.1.0 on npm

playwright 197 changes

Breaking changes 17

  • Elements inside invisible iframes are now considered hidden by actions and visibility checks.

    1.64.0release notes

  • JSX in test files now follows tsconfig JSX settings and defaults to the automatic React runtime.

    1.64.0release notes

  • Ubuntu 20.04 is no longer supported.

    1.63.0release notes

  • Debian 11 is no longer a supported operating system for 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.

    1.60.0release notes

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

    1.60.0release notes

  • Removes the long-deprecated handle option.

    1.60.0release notes

  • The test runner rejects workers values of zero 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

  • Starts screencast recording and can write the recording to a specified path.

    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 remain on an older Playwright version.

    1.58.0release notes

  • The deprecated Page#accessibility API was removed; use other libraries such as Axe for page accessibility testing.

    1.57.0release notes

Deprecations 4

  • The fontSize option is deprecated and replaced by style.

    1.64.0release notes

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

    1.63.0release notes

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

    1.63.0release notes

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

    1.63.0release notes

New APIs and options 39

  • Schedules tests in random order, with an optional seed to reproduce the order.

    1.64.0release notes

  • Appends a reporter to configured reporters instead of replacing them.

    1.63.0release notes

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

    1.63.0release notes

  • Codegen can record against pages protected by HTTP authentication.

    1.63.0release notes

  • Keeps browsers belonging to other Playwright installations during browser installation.

    1.63.0release notes

  • Reporter configuration can suppress tags automatically appended to test titles.

    1.63.0release notes

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

    1.62.0release notes

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

    1.62.0release notes

  • Tear down a mounted component story within a test.

    1.62.0release notes

  • Re-render a mounted component story with updated props during a test.

    1.62.0release notes

  • Adds support for soft polling assertions.

    1.61.0release notes

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

    1.61.0release notes

  • Adds frame-attached lifecycle events directly on BrowserContext.

    1.60.0release notes

  • Adds frame-detached lifecycle events directly on BrowserContext.

    1.60.0release notes

  • Adds frame-navigation lifecycle events directly on BrowserContext.

    1.60.0release notes

  • Adds page-close lifecycle events directly on BrowserContext.

    1.60.0release notes

  • Adds page-load lifecycle events directly on BrowserContext.

    1.60.0release notes

  • Adds a pretty-print toggle for JSON and form request and response bodies in network details.

    1.60.0release notes

  • Allows binding over WebSocket using a specified host.

    1.59.0release notes

  • Allows binding over WebSocket using a specified port.

    1.59.0release notes

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

    1.59.0release notes

  • Attaches playwright-cli to a browser session created by browser.bind.

    1.59.0release notes

  • Opens a Dashboard listing bound browsers, their statuses, and interaction controls.

    1.59.0release notes

  • Enables dashboard visibility for all @playwright/test browsers.

    1.59.0release notes

  • Disables navigator.platform emulation to work around Ctrl or Meta dispatching errors.

    1.59.0release notes

  • Controls the duration of each action annotation in milliseconds.

    1.59.0release notes

  • Controls the font size of action annotations in pixels.

    1.59.0release notes

  • Enables visual annotations for interacted elements and action titles, with configurable placement.

    1.59.0release notes

  • Adds chapter titles and descriptions to screencast recordings.

    1.59.0release notes

  • Adds custom HTML overlays on top of the page during recording.

    1.59.0release notes

  • Streams JPEG-encoded frames for custom processing such as thumbnails, live previews, and AI vision.

    1.59.0release notes

  • Configures the dimensions of real-time screencast frames.

    1.59.0release notes

  • Stops an active screencast recording.

    1.59.0release notes

  • Records a trace for each test run and retains all traces when an attempt fails.

    1.59.0release notes

  • Enables action annotations in test fixtures through the video configuration.

    1.59.0release notes

  • UI Mode adds a system theme option that follows the operating system's dark or light mode preference.

    1.58.0release notes

  • This environment variable opts out of Service Worker console message dispatch.

    1.57.0release notes

  • This environment variable opts out of Service Worker network request reporting and routing.

    1.57.0release notes

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

    1.57.0release notes

Performance 1

  • Videos use VP9 instead of VP8, reducing CPU usage and file sizes at the same or better quality.

    1.64.0release notes

Behavior and default changes 9

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

    1.64.0release notes

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

    1.61.1release notes

  • HAR and trace recordings now include WebSocket requests.

    1.61.0release notes

  • Accepts report ZIP files directly without requiring manual extraction.

    1.60.0release notes

  • JSON responses in the relevant UI 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

  • Named capture groups in the webServer wait expression are provided through environment variables.

    1.57.0release notes

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

    1.56.1release notes

Tooling 2

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

    1.58.0release notes

  • Playwright adds a token-efficient, SKILL-focused CLI mode designed to be more coding-agent-friendly.

    1.58.0release notes

Fixes and other changes 25

  • Intermittently losing a packaged app's first window since 1.64.0 is fixed.

    1.64.1release notes

  • Chromium 155+ no longer aborts a preflighted cross-origin redirect when any route is registered.

    1.64.1release notes

  • The missing mode now passes runs that only create missing snapshots; the unspecified mode is called default.

    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 represented in the accessibility snapshot.

    1.62.1release notes

  • Branded primitive arguments such as string & { brand } type-check correctly again.

    1.62.1release notes

  • Bare-specifier tsconfig extends entries resolve through the node_modules walk-up like tsc.

    1.62.1release notes

  • Directory-form tsconfig project references resolve correctly.

    1.62.1release notes

  • The bundled Chromium browser version changed in this release.

    1.62.0release notes

  • The bundled WebKit browser version changed in this release.

    1.62.0release notes

  • Extensionless .ts subpath imports now resolve across pnpm workspace symlinks.

    1.61.1release notes

  • The sync loader no longer throws when context conditions are not an array on Node 22.15.

    1.61.1release notes

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

    1.61.1release notes

  • Updates the Chromium version bundled and tested with this release.

    1.61.0release notes

  • Playwright now supports Ubuntu 26.04.

    1.61.0release notes

  • The bundled Chromium version changes to 148.0.7778.96.

    1.60.0release notes

  • The bundled Mozilla Firefox browser version changed in this release.

    1.60.0release notesrelease notesrelease notes

  • Updates the WebKit version bundled and tested with this release.

    1.60.0release notesrelease notes

  • On Windows, console windows are no longer hidden when spawning browser processes, restoring codegen, --ui, and show commands.

    1.59.1release notes

  • Playwright no longer forces swiftshader when running Chromium on macOS.

    1.58.2release notes

  • Paths supplied via stdin now work in the trace viewer.

    1.58.2release notes

  • The bundled Chromium browser version is 145.0.7632.6.

    1.58.1release notes

  • Fixed local network permissions for Microsoft Edge.

    1.58.1release notes

  • The bundled Mozilla Firefox browser version is 146.0.1.

    1.58.1release notes

  • The bundled WebKit browser version is 26.0.

    1.58.1release notes