unstale

pypi / playwright

playwright

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

15 breaking2 security1 deprecations23 new APIs and options1 performance8 behavior and defaults3 tooling8 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

playwright 161 changes

Breaking changes 15

  • Text the browser does not render is no longer included in accessible names or aria snapshots, which can change role queries and snapshot results.

    1.65.0release notes

  • Cookie matching with a URL now follows RFC 6265, so host-only and path cookies are returned only when they match.

    1.65.0release notes

  • pyee is no longer a dependency, avoiding conflicts with packages that need a different version.

    1.65.0release notes

  • The bundled Node.js runtime distrusts compromised eMudhra intermediate CAs, affecting the driver's TLS connections such as connect_over_cdp to a wss:// endpoint.

    1.64.1release notes

  • Elements inside an iframe that is not visible are now considered hidden by actions, locator.is_visible(), and to_be_visible() assertions.

    1.64.0release notes

  • Ubuntu 20.04 is no longer supported.

    1.63.0release notes

  • Debian 11 is no longer supported.

    1.62.0release notes

  • In headless mode, the clipboard is isolated from the operating system, so tests using navigator.clipboard no longer read or overwrite the machine's clipboard.

    1.62.0release notes

  • The long-deprecated handle option has been removed from browser_context.expose_binding() and page.expose_binding().

    1.60.0release notes

  • WebKit no longer supports macOS 14; upgrade macOS or keep an older Playwright version.

    1.59.0release notes

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

    1.58.0release notes

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

    1.58.0release notes

  • The _react selector has been removed; use alternatives from the locators guide.

    1.58.0release notes

  • The _vue selector has been removed; use alternatives from the locators guide.

    1.58.0release notes

  • The deprecated page.accessibility API was removed; use other libraries such as Axe to test page accessibility.

    1.57.0release notes

Security 2

  • Docker images now include the latest security updates of the Ubuntu packages.

    1.65.1release notes

  • The bundled Node.js was rolled to 26.13.1, a security release with fixes in tls, http, https, and http2 that affect the driver's network connections.

    1.65.1release notes

Deprecations 1

  • The font_size option is deprecated and replaced by the style option.

    1.64.0release notes

New APIs and options 23

  • Opt out of Playwright MCP's default support for WebMCP.

    1.64.0release notes

  • Call a WebMCP tool with playwright-cli.

    1.64.0release notes

  • List WebMCP tools with playwright-cli.

    1.64.0release notes

  • Playwright MCP offers page-defined WebMCP tools to the agent under this name.

    1.64.0release notes

  • Adds --http-credentials to record against pages behind HTTP authentication.

    1.63.0release notes

  • Adds --no-remove to keep browsers of other Playwright installations instead of removing them.

    1.63.0release notes

  • Actions accept a scroll option of "auto" or "none" to opt out of Playwright's automatic scrolling into view.

    1.62.0release notes

  • Controls where artifacts such as traces and downloads are stored when attached to an existing browser.

    1.61.0release notes

  • A virtual authenticator lets tests register passkeys and answer WebAuthn ceremonies without real hardware.

    1.61.0release notes

  • The callback now receives a timestamp for when the frame was presented by the browser.

    1.61.0release notes

  • Controls the cursor decoration rendered for pointer actions.

    1.61.0release notes

  • The new API reads and writes local and session storage for the page's current origin.

    1.61.0release notes

  • All timeout parameters now accept datetime.timedelta, including those used by navigation, locator actions, and assertions.

    1.60.0release notes

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

    1.60.0release notes

  • Connects playwright-cli to a running bound browser session.

    1.59.0release notes

  • Opens the Dashboard listing bound browsers and allowing them to be inspected and interacted with.

    1.59.0release notes

  • Displays visual annotations that highlight interacted elements and show action titles during recording.

    1.59.0release notes

  • Adds chapter titles and descriptions to screencast videos.

    1.59.0release notes

  • The new is_local option tells Playwright it runs on the same host as the CDP server, enabling file system optimizations.

    1.58.0release notes

  • A new system theme option follows your OS dark/light mode preference.

    1.58.0release notes

  • Set this environment variable to opt out of dispatching Service Worker console messages through worker.on("console").

    1.57.0release notes

  • Set this environment variable to opt out of reporting and routing network requests issued by Service Workers.

    1.57.0release notes

  • In Chromium, network requests issued by Service Workers are reported and can be routed through BrowserContext.

    1.57.0release notes

Performance 1

  • Videos are encoded with VP9 instead of VP8, using less CPU and producing smaller files of the same or better quality.

    1.64.0release notes

Behavior and default changes 8

  • The cursor stays visible at the last action point, survives navigations, and travels along a natural, eased path.

    1.64.0release notes

  • HAR recordings now include WebSocket requests.

    1.61.0release notes

  • Trace recordings now include WebSocket requests.

    1.61.0release notes

  • Objects returned from more APIs, including screencast.show_actions() and screencast.show_overlays(), now support use with async with.

    1.60.0release notes

  • JSON responses are automatically formatted for readability.

    1.58.0release notes

  • The Network details panel has been reorganized for better usability.

    1.58.0release notes

  • Playwright now uses Chrome for Testing builds instead of Chromium, for headed and headless browsers; Arm64 Linux continues to use Chromium.

    1.57.0release notes

  • Aria snapshots now render and compare input placeholders.

    1.56.0release notes

Tooling 3

  • Playwright now publishes a source distribution alongside wheels, enabling installs that do not accept wheels; source installs use a pre-installed Node.js set with PLAYWRIGHT_NODEJS_PATH.

    1.65.0release notes

  • Adds a trace viewer mode that shows an action screenshot beside the aria snapshot and highlights an aria node on the screenshot when hovered.

    1.63.0release notes

  • Search with Cmd/Ctrl+F is now available in code editors.

    1.58.0release notes

Fixes and other changes 8