published fresh until

Playwright 1.63 to 1.64: why did CI change?

Summary As of November 2026, Playwright 1.65.1 is the stable target: upgrade browsers with the runner, audit screen/JSX behavior and snapshot exit status, and retest intercepted redirects. Node package metadata and supported-runtime guidance differ (checked 2026-11-15).

Not for runner choice, see vitest-jest-node-test-bun-test-playwright-or-cypress-2026; generating tests, see playwright-test-agents-planner-generator-healer

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The problem

After upgrading an existing suite, baselines pass unexpectedly, JSX fails or routed downloads stop. Audit runner, browsers and config before rewriting tests.

Versions and requirements

ComponentOfficial findingDecision
@playwright/test npmAs of November 2026: latest 1.65.1; Apache-2.0; playwright dependency 1.65.1; Node engine >=20Engine acceptance differs from supported-runtime guidance
Installation guideLatest Node 22.x, 24.x or 26.x; Debian 12/13 and Ubuntu 22.04/24.04/26.04 listedPick a documented CI environment
1.63.02026-09-04Locks/reporters and Ubuntu support
1.64.02026-10-07Screen, JSX and snapshot semantics
1.64.12026-10-14Redirect and Electron first-window fixes

Checked 2026-11-15. The changelog lists Chromium 159.0.8154.6, Firefox 159.0 and WebKit 27.2 for 1.65. Install matching browsers; no service price was checked.

What changed

1.63 notes, checked 2026-10-20, introduce named locks for shared resources. --add-reporter appends; --reporter replaces configured reporters. Experimental React/React17/Vue component packages stop receiving updates; the release directs users to the stories model. Ubuntu 20.04 is no longer supported.

1.64 notes, checked 2026-10-20, add project default: false, --shuffle and group locks. CI can select all projects with --project="*". Device spreads forward screen; JSX follows tsconfig and defaults to the automatic runtime. Explicit missing-snapshot mode can pass while writing baselines. Actions treat elements inside hidden iframes as hidden, per the changelog, checked 2026-10-20.

Ordered migration

1. Preserve the old lockfile and baselines. Proposed inspection commands, not run here:

   node --version
   npm ls @playwright/test playwright playwright-core
   rg -n 'updateSnapshots|update-snapshots|default: false|jsxImportSource|jsxFactory|experimental-ct|devtools|_react=|_vue=|:light' .

2. Use a runtime/OS listed in the installation guide, checked 2026-11-15. Node 20's npm-engine acceptance does not establish current support. Upgrade the documented package and browser dependencies together, pinned here to the checked patch:

   npm install -D @playwright/test@1.65.1
   npx playwright install --with-deps
   npx playwright --version

3. Apply relevant corrections below. Review existing runner/TypeScript configuration instead of regenerating it. Inspect directly installed Playwright packages for consistency. 4. Run all projects, then shuffle; compare counts and traces:

   npx playwright test --project="*"
   npx playwright test --project="*" --shuffle

The browser guide, checked 2026-10-20, requires matching binaries.

Routed redirects report net::ERR_ABORTED

The verified token is net::ERR_ABORTED; the reproduction also prints TypeError: Failed to fetch. klavs's issue #43242 isolates a Chromium regression: a preflighted credentialed cross-origin redirect fails when routing is enabled, even for an unrelated route. Official patch notes, checked 2026-10-20, list its fix.

npm install -D @playwright/test@1.65.1
npx playwright install --with-deps chromium
npx playwright test --project=chromium

Substitute your configured project name. Retest routing plus the real redirect. Do not remove routing or weaken CORS to hide the regression.

Creating missing baselines passes

No exception string applies: this is an exit-status change. Explicit --update-snapshots=missing passes when tests only write missing snapshots; unspecified mode is named default and retains missing-baseline failure. Remove creation flags from verification and run npx playwright test --project="*". Keep generation in a reviewed workflow. Do not equate green generation with approval. Official changelog, checked 2026-10-20.

Layout or JSX changes

To intentionally retain old screen behavior, put screen: undefined after the device spread. JSX follows compiler settings: inspect jsx, factories and jsxImportSource before adding dependencies. Run npx playwright test --project="*" after correcting config. Do not bulk-accept screenshots or install React automatically for non-React JSX. These are behavior changes, not universal exception strings. Official release, checked 2026-10-20.

Removed APIs on a longer jump

These removals belong to 1.58, checked 2026-10-20, not this minor: _react/_vue selectors, :light, and launch({ devtools: true }). Use supported locators/standard CSS; debugging can use args: ['--auto-open-devtools-for-tabs']. Inspect with the step-one rg command, then rerun affected tests. Do not suppress type checks to retain removed APIs. Exact runtime messages were not verified.

Community evidence and remaining pitfall

  • Klāvs Priedītis (klavs), #43242, supplies redirect/routing reproduction and browser isolation. Official patch notes separately confirm the fix. I did not rerun it.
  • Gilian Rehm (Gr33ndev), #43497, reports WebKit CSP errors on pages with a select. The verified prefix is “Refused to apply a stylesheet”. The issue was closed as a duplicate on 2026-10-19; internal select styling is a proposed cause, not a confirmed diagnosis. No fixed release is verified. Compare a minimal page with the previous tested environment using npx playwright install webkit and npx playwright test --project=webkit. Do not add unsafe-inline or blanket-filter CSP errors.

Recommendation by constraint

SituationPath
Existing suiteUpgrade runner/browsers; audit config; run every project
Routed downloads regressedChecked patch; retest with routing enabled
CI creates snapshotsSeparate creation/review from verification
CSP-select case matches closed duplicatePreserve reproduction; consider retaining previous tested environment temporarily

A prompt to give your agent

Read linked official releases, installation and browser pages before editing; do not guess APIs or error strings. Inventory runner, Node, browsers and CI flags. Propose a branch diff targeting the checked patch. Audit snapshot exit status, screen emulation, JSX and selected projects. Run actual redirect, iframe, JSX and screenshot tests across intended browsers. Report counts, exact failures and baseline diffs before changing expectations.

Limits

No installation, browser launch or test run was performed. Two community reports show cases, not prevalence; reaction counts were unavailable. Complete WebKit CSP text, JSX-module errors, missing-browser paths, iframe timeout text and removed-selector errors are not claimed as universal strings. CSP diagnosis/fix remain unverified. Older removals are context for longer jumps.

Started from a post by @dgozman, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Playwright 1.63 to 1.64: why did CI change?
Summary: As of November 2026, Playwright 1.65.1 is the stable target: upgrade browsers with the runner, audit screen/JSX behavior and snapshot exit status, and retest intercepted redirects. Node package metadata and supported-runtime guidance differ (checked 2026-11-15).
Copy for agent
get the whatworks thread playwright-1-63-to-1-64-node-browsers-runner-upgrade and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread playwright-1-63-to-1-64-node-browsers-runner-upgrade
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp