@playwright/test breaking changes
Updated December 4, 2026
On this page
Latest version 1.65.2, released December 1, 2026. Source repository
Its 1.65.0 release drops Node.js 20. Node.js end of life dates.
@playwright/test 1.65.0 breaking changes
- Removed
Playwright no longer tests on Node.js 20. Use Node.js 22, 24 or 26. github.com - Behavior changed
A sharded run now fails with No tests found when no tests match across all shards. Pass --pass-with-no-tests to allow this. github.com - Behavior changed
The blob reporter deletes the content of its output directory before writing the report, so files there are removed. github.com - Behavior changed
css, less and scss imports in test files now load as empty modules, so the imported file must exist. github.com - Behavior changed
Test locations of imported calls such as test( in CommonJS output now point to the start of the callee. github.com - Behavior changed
APIRequestContext
String and URLSearchParams params values are appended to the query the URL already has instead of replacing it. github.com - Behavior changed
apiRequestContext.cookies
With a URL, cookies() no longer returns host-only cookies for subdomains or Path=/api cookies for /apiv2. github.com - Behavior changed
browserContext.cookies
With a URL, cookies() no longer returns host-only cookies for subdomains or Path=/api cookies for /apiv2. github.com - Behavior changed
browserType.launch
Credentials in the proxy option now answer only proxy challenges. Use httpCredentials to authenticate on a website. github.com - Behavior changed
locator.ariaSnapshot
Text the browser does not render is no longer part of aria snapshots. github.com - Behavior changed
locator.check
Actions on inert elements now time out if the element stays inert. github.com - Behavior changed
locator.clear
Actions on inert elements now time out if the element stays inert. github.com - Behavior changed
locator.click
Actions on inert elements now time out if the element stays inert. github.com - Behavior changed
locator.fill
Actions on inert elements now time out if the element stays inert. github.com - Behavior changed
locator.selectOption
Actions on inert elements now time out if the element stays inert. github.com - Behavior changed
locator.tap
Actions on inert elements now time out if the element stays inert. github.com - Behavior changed
page.getByRole
Text the browser does not render is no longer part of accessible names and aria snapshots, which can change getByRole results with a name. github.com - Default changed
Class fields now follow useDefineForClassFields from tsconfig.json, enabled for ES2022+ targets. Field initializers that read constructor parameter properties fail; move them into the constructor or set useDefineForClassFields to false. github.com - Configuration changed
Under Bun, --tsconfig and the JSX options in tsconfig.json have no effect, and custom ESM loaders are not supported. github.com - Signature changed
test.fail
test.fail() now takes only a description, which is recorded as the test annotation. github.com - Signature changed
test.fixme
test.fixme() now takes only a description, which is recorded as the test annotation. github.com - Signature changed
test.skip
test.skip() now takes only a description, which is recorded as the test annotation. Remove any other arguments. github.com - Signature changed
test.slow
test.slow() now takes only a description, which is recorded as the test annotation. github.com
@playwright/test 1.64.0 breaking changes
- Behavior changed
--update-snapshots=missing
Tests that only create missing snapshots now pass in the missing mode. The mode used when the option is unspecified is now called default and still fails the test. github.com - Behavior changed
jsx
Playwright compiles JSX in test files using the tsconfig jsx options and defaults to the automatic runtime from react/jsx-runtime. github.com - Behavior changed
locator.isVisible
Actions, locator.isVisible() and toBeVisible() now consider elements inside a non-visible iframe as hidden. github.com - Behavior changed
screen
Using device descriptors such as Desktop Chrome now sets window.screen and media queries to the emulated size. Set screen to undefined to keep the old behavior. github.com
@playwright/test 1.63.0 breaking changes
- Removed
Ubuntu 20.04 is no longer supported. Use a newer Ubuntu release. github.com - Removed
The experimental @playwright/experimental-ct-react17 package is no longer published. Move component tests to the story gallery model. playwright.dev - Behavior changed
On Linux arm64, the browser download is now the Chrome for Testing build of Chromium instead of the previous build. github.com
@playwright/test 1.62.0 breaking changes
- Removed
Playwright 1.62.0 no longer supports Debian 11. Users on Debian 11 must move to a supported operating system. github.com
@playwright/test 1.60.0 breaking changes
- Removed
Locator.ariaRef
Locator.ariaRef() was removed; use the standard locator.ariaSnapshot() pipeline instead. github.com - Removed
videoSize
The videoSize context option was removed; use recordVideo instead. github.com - Removed
videosPath
The videosPath context option was removed; use recordVideo instead. github.com - Behavior changed
A config that tries to override a non-option fixture now produces an error. github.com - Behavior changed
workers
Config values of workers 0 or negative now raise an error. github.com
@playwright/test 1.59.0 breaking changes
- Removed
WebKit no longer runs on macOS 14. Upgrade macOS or keep using an older Playwright version. github.com
Older versions
15 older versions, each with its first changes. Sign up to see every change
Show 15 older versions
@playwright/test 1.58.0 breaking changes
- Removed
WebKit no longer runs on macOS 13. Upgrade macOS or stay on an older Playwright version. github.com - Removed
_react
The _react selector is gone. Use the locators guide alternatives instead. github.com
And 3 more in this version.
@playwright/test 1.57.0 breaking changes
- Removed
Page.accessibility
Code calling Page#accessibility will fail. Use another library such as Axe to test page accessibility. github.com - Behavior changed
In Chromium, network requests from Service Workers now appear and can be routed through the BrowserContext. Set PLAYWRIGHT_DISABLE_SERVICE_WORKER_NETWORK to opt out. github.com
And 3 more in this version.
@playwright/test 1.56.0 breaking changes
- Behavior changed
browserContext.backgroundPages
browserContext.backgroundPages() will return an empty list because background pages are no longer reported. github.com
@playwright/test 1.55.0 breaking changes
- Removed
Chromium extension manifest v2 is no longer supported, so extensions using it will not work and must be migrated to manifest v3. github.com
@playwright/test 1.54.0 breaking changes
- Removed
Node.js 16 is no longer supported. Upgrade Node.js to a supported version. github.com - Removed
-gv
The -gv option was removed from the test command. Use --grep-invert instead. github.com
And 1 more in this version.
@playwright/test 1.52.0 breaking changes
- Behavior changed
page.route
The ? wildcard now matches a literal question mark, and ranges/sets [] are no longer supported; use regular expressions instead. github.com - Behavior changed
route.continue
A Cookie header passed to route.continue() is ignored and cookies come from the browser store; set custom cookies with browserContext.addCookies(). github.com
@playwright/test 1.50.0 breaking changes
- Behavior changed
expect(locator).toBeEditable
expect(locator).toBeEditable() now throws if the target element is not an input, select, or other editable element. Check the element type before asserting. github.com - Behavior changed
locator.isEditable
locator.isEditable() now throws if the target element is not an input, select, or other editable element instead of returning false. github.com
And 1 more in this version.
@playwright/test 1.49.0 breaking changes
- Removed
WebKit will no longer receive updates on Ubuntu 20.04 and Debian 11. Update your operating system to a later version. github.com - Behavior changed
Test runs using the chrome, msedge and similar channels now use the new headless mode. Run your suite and update snapshots or PDF viewer and extension test code if it fails. github.com
@playwright/test 1.47.0 breaking changes
- Behavior changed
npx playwright test
Playwright now accepts a --tsconfig flag and uses that file for all imported files instead of the per-file heuristic lookup. github.com - Default changed
mcr.microsoft.com.playwright:v1.47.0
The versioned Playwright Docker image now uses Ubuntu 24.04 Noble; users wanting Ubuntu 22.04 must use the -jammy tag. github.com
@playwright/test 1.46.0 breaking changes
- Behavior changed
test.use
Fixture values that are arrays of objects passed to test.use() may now need to be wrapped in a fixture tuple, including the scope property. Update such calls to the tuple form shown in the notes. github.com
@playwright/test 1.45.0 breaking changes
- Removed
Version 1.45 is the last release to receive WebKit updates for macOS 12 Monterey. Users on that macOS version must update macOS to keep getting the latest WebKit. github.com
@playwright/test 1.12.0 breaking changes
- Removed
afterAll
afterAll was removed in @playwright/test 1.12.0 npmjs.com - Removed
afterEach
afterEach was removed in @playwright/test 1.12.0 npmjs.com
And 10 more in this version.
@playwright/test 1.3.0 breaking changes
- Behavior changed
Playwright now automatically checks for browser system dependencies on Linux and Windows, so launches can fail early when dependencies are missing. github.com
@playwright/test 1.2.0 breaking changes
- Behavior changed
WebKit now requires a new set of system dependencies to launch on Ubuntu Bionic. Install them before launching WebKit. github.com - Behavior changed
Intercepting redirects is now disallowed. Code that relied on intercepting redirect requests must change. github.com
@playwright/test 1.1.0 breaking changes
- Removed
The main index.js entry point was removed from playwright-core. Code that loads the package through that entry point may need to change. github.com - Removed
page.pause
Page pause support was removed from the package. Code calling page.pause will no longer work as before. github.com
And 2 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.