---
title: "playwright 1.65.0 Breaking Changes on npm | Since.dev"
description: "What each playwright release removed, renamed or changed: 115 breaking changes in 11 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/playwright
last_updated: 2026-12-04
---

# playwright breaking changes

playwright 1.65.0 (November 5, 2026) is its newest release with breaking changes, 29 of them. The first: playwright 1.65.0 drops support for Node.js 20. Every breaking API change we have recorded in playwright on npm: 115 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.65.2`, released December 1, 2026. [Source repository](https://github.com/microsoft/playwright)

Its 1.65.0 release drops [Node.js 20](https://since.dev/calendar/nodejs/20.md). [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.17.0](#v-0-17-0) to [1.65.0](#v-1-65-0): 113 breaking changes in 10 versions.

## playwright 1.65.0 breaking changes

playwright 1.65.0, released November 5, 2026: 29 breaking changes.

- **Removed**  

Use Node.js 22, 24 or 26, as listed in the system requirements. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Behavior changed**  

The blob reporter again clears the content of its output directory before writing the report. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Behavior changed**  

Field initializers now run before constructor parameter properties, so a field that reads a parameter property fails. Move the initialization into the constructor or set useDefineForClassFields to false. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Behavior changed**  

Locations of imported calls such as test( in CommonJS now match ESM and point to a different column. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Behavior changed**  

A sharded run now fails if no tests match in any shard. Pass --pass-with-no-tests to allow this. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Behavior changed**  

These imports no longer get removed, so the imported file must exist. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Behavior changed**  

Under Bun, UI mode no longer reruns tests on file changes, --only-changed does not follow imports, and --tsconfig and JSX options in tsconfig.json have no effect. Custom ESM loaders are not supported. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Behavior changed** `APIRequestContext`  

Params values are now added to the query the URL already has instead of replacing it. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Behavior changed** `apiRequestContext.cookies`  

Host-only cookies no longer match subdomains and path matching is stricter, so some cookies are no longer returned. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Behavior changed** `browserContext.cookies`  

Host-only cookies no longer match subdomains and path matching is stricter, so some cookies are no longer returned. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Behavior changed** `browserType.launch`  

Credentials in the proxy option now answer only proxy challenges. Use httpCredentials to authenticate on websites. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Behavior changed** `locator.ariaSnapshot`  

Aria snapshots no longer include unrendered text, which can change their results. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Behavior changed** `locator.check`  

An action on an inert element or inside one now times out if the element stays inert. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Behavior changed** `locator.clear`  

An action on an inert element or inside one now times out if the element stays inert. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Behavior changed** `locator.click`  

An action on an inert element or inside one now times out if the element stays inert. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Behavior changed** `locator.fill`  

An action on an inert element or inside one now times out if the element stays inert. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Behavior changed** `locator.selectOption`  

An action on an inert element or inside one now times out if the element stays inert. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Behavior changed** `locator.tap`  

An action on an inert element or inside one now times out if the element stays inert. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Behavior changed** `page.getByRole`  

Accessible names and aria snapshots no longer include unrendered text, which can change getByRole results with a name. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Signature changed** `test:Config.reporter`  

Was reporter?: LiteralUnion<'list'|'dot'|'line'|'github'|'json'|'junit'|'null'|'html'|'blob'|'perfetto', string> | ReporterDescription\[\]; now reporter?... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.65.0)
- **Signature changed** `test:HtmlReporterOptions`  

Was type HtmlReporterOptions = {outputFolder?: string; open?: 'always' | 'never' | 'on-failure'; host?: string; port?: number; attachmentsBaseURL?: string; title?: string; noSnippets?: boolean; noCopyPrompt?: boolean; doNotInlineAssets?... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.65.0)
- **Signature changed** `test:JsonReporterOptions`  

Was type JsonReporterOptions = {outputFile?: string}; now type JsonReporterOptions = {outputFile?: string, onlyFailures?: boolean}. [npmjs.com](https://www.npmjs.com/package/playwright/v/1.65.0)
- **Signature changed** `test:JUnitReporterOptions`  

Was type JUnitReporterOptions = {outputFile?: string, stripANSIControlSequences?: boolean, includeProjectInTestName?: boolean, includeRetries?: boolean, omitTags?: boolean}; now type JUnitReporterOptions = {outputFile?: string... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.65.0)
- **Signature changed** `test:PlaywrightTestConfig.reporter`  

Was reporter?: LiteralUnion<'list'|'dot'|'line'|'github'|'json'|'junit'|'null'|'html'|'blob'|'perfetto', string> | ReporterDescription\[\]; now reporter?... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.65.0)
- **Signature changed** `test:ReporterDescription`  

Was type ReporterDescription = Readonly<\['blob'\] | \['blob', BlobReporterOptions\] | \['dot'\] | \['dot', DotReporterOptions\] | \['line'\] | \['line', LineReporterOptions\] | \['list'\] | \['list', ListReporterOptions\] | \['github'\] | \['github'... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.65.0)
- **Signature changed** `test:TestType.fail`  

Calls must pass only a description string, which is recorded as a test annotation. [npmjs.com](https://www.npmjs.com/package/playwright/v/1.65.0)
- **Signature changed** `test.fixme`  

Calls must pass only a description string, which is recorded as a test annotation. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Signature changed** `test.skip`  

Calls must pass only a description string, which is recorded as a test annotation. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)
- **Signature changed** `test.slow`  

Calls must pass only a description string, which is recorded as a test annotation. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.65.0)

## playwright 1.64.0 breaking changes

playwright 1.64.0, released October 7, 2026: 18 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 after writing missing snapshots. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.64.0)
- **Behavior changed** `expect(locator).toBeVisible`  

Elements inside an iframe that is not visible are considered hidden by actions, isVisible() and toBeVisible(). [github.com](https://github.com/microsoft/playwright/releases/tag/v1.64.0)
- **Behavior changed** `screen`  

The screen property from device descriptors is now applied, so window.screen and media queries see the emulated size. Set screen to undefined to keep the old behavior. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.64.0)
- **Signature changed** `test:Config.expect`  

Was expect?: {timeout?: number; toHaveScreenshot?: {animations?: "allow"|"disabled"; caret?: "hide"|"initial"; maxDiffPixels?: number; maxDiffPixelRatio?: number; scale?: "css"|"device"; stylePath?: string|Array\<string>; threshold?... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.64.0)
- **Signature changed** `test:Config.expect.toHaveScreenshot`  

Was toHaveScreenshot?: {animations?: "allow"|"disabled"; caret?: "hide"|"initial"; maxDiffPixels?: number; maxDiffPixelRatio?: number; scale?: "css"|"device"; stylePath?: string|Array\<string>; threshold?: number; pathTemplate?: string;}... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.64.0)
- **Signature changed** `test:Config.reporter`  

Was reporter?: LiteralUnion<'list'|'dot'|'line'|'github'|'json'|'junit'|'null'|'html'|'perfetto', string> | ReporterDescription\[\]; now reporter?: LiteralUnion<'list'|'dot'|'line'|'github'|'json'|'junit'|'null'|'html'|'blob'|'perfetto'... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.64.0)
- **Signature changed** `test:Config.updateSnapshots`  

Was updateSnapshots?: "all"|"changed"|"missing"|"none"; now updateSnapshots?: "all"|"changed"|"missing"|"none"|"default". [npmjs.com](https://www.npmjs.com/package/playwright/v/1.64.0)
- **Signature changed** `test:FullConfig.updateSnapshots`  

Was updateSnapshots: "all"|"changed"|"missing"|"none"; now updateSnapshots: "all"|"changed"|"missing"|"none"|"default". [npmjs.com](https://www.npmjs.com/package/playwright/v/1.64.0)
- **Signature changed** `test:PlaywrightTestConfig.expect`  

Was expect?: {timeout?: number; toHaveScreenshot?: {animations?: "allow"|"disabled"; caret?: "hide"|"initial"; maxDiffPixels?: number; maxDiffPixelRatio?: number; scale?: "css"|"device"; stylePath?: string|Array\<string>; threshold?... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.64.0)
- **Signature changed** `test:PlaywrightTestConfig.expect.toHaveScreenshot`  

Was toHaveScreenshot?: {animations?: "allow"|"disabled"; caret?: "hide"|"initial"; maxDiffPixels?: number; maxDiffPixelRatio?: number; scale?: "css"|"device"; stylePath?: string|Array\<string>; threshold?: number; pathTemplate?: string;}... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.64.0)

And 8 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## playwright 1.63.0 breaking changes

playwright 1.63.0, released September 4, 2026: 18 breaking changes.

- **Removed**  

Playwright 1.63 no longer supports Ubuntu 20.04. Move to a supported Ubuntu release before upgrading. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.63.0)
- **Removed** `@playwright.experimental-ct-react`  

The experimental React component testing package has been removed and is no longer published. Migrate to the story gallery model. [playwright.dev](https://playwright.dev/docs/test-components)
- **Removed** `afterMount`  

The afterMount hook is gone. Put app-wide setup in the gallery's window.mount or in story decorators. [playwright.dev](https://playwright.dev/docs/test-components)
- **Removed** `beforeMount`  

The beforeMount hook is gone. Put app-wide setup in the gallery's window.mount or in story decorators. [playwright.dev](https://playwright.dev/docs/test-components)
- **Removed** `ctPort`  

The port now lives in webServer and baseURL, so ctPort is gone. [playwright.dev](https://playwright.dev/docs/test-components)
- **Removed** `ctTemplateDir`  

The gallery now runs through your own dev server, so ctTemplateDir is gone. [playwright.dev](https://playwright.dev/docs/test-components)
- **Removed** `ctViteConfig`  

The gallery now runs through your own dev server, so ctViteConfig is gone. Configure your dev server and webServer instead. [playwright.dev](https://playwright.dev/docs/test-components)
- **Behavior changed**  

On Linux arm64, Playwright now downloads the Chrome for Testing build of Chromium instead of the previous build. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.63.0)
- **Signature changed** `test:Config.reporter`  

Was reporter?: LiteralUnion<'list'|'dot'|'line'|'github'|'json'|'junit'|'null'|'html', string> | ReporterDescription\[\]; now reporter?: LiteralUnion<'list'|'dot'|'line'|'github'|'json'|'junit'|'null'|'html'|'perfetto', string> |... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.63.0)
- **Signature changed** `test:JUnitReporterOptions`  

Was type JUnitReporterOptions = {outputFile?: string, stripANSIControlSequences?: boolean, includeProjectInTestName?: boolean, includeRetries?: boolean}; now type JUnitReporterOptions = {outputFile?: string, stripANSIControlSequences?... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.63.0)

And 8 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## playwright 1.62.0 breaking changes

playwright 1.62.0, released July 24, 2026: 5 breaking changes.

- **Removed**  

Playwright no longer supports Debian 11. Users on Debian 11 need to move to a supported Debian release. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.62.0)
- **Signature changed** `test:HtmlReporterOptions`  

Was type HtmlReporterOptions = {outputFolder?: string; open?: 'always' | 'never' | 'on-failure'; host?: string; port?: number; attachmentsBaseURL?: string; title?: string; noSnippets?: boolean; noCopyPrompt?: boolean; doNotInlineAssets?... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.62.0)
- **Signature changed** `test:PlaywrightWorkerOptions.video`  

Was video: VideoMode | 'retry-with-video' | {mode: VideoMode, size?: ViewportSize, show?: {actions?: {duration?: number, position?: 'top-left' | 'top' | 'top-right' | 'bottom-left' | 'bottom' | 'bottom-right', fontSize?: number}, test?... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.62.0)
- **Signature changed** `types/testReporter:JSONReportTest.annotations`  

Was annotations: {type: string, description?: string}\[\]; now annotations: TestAnnotation\[\]. [npmjs.com](https://www.npmjs.com/package/playwright/v/1.62.0)
- **Signature changed** `types/testReporter:JSONReportTestResult.annotations`  

Was annotations: {type: string, description?: string}\[\]; now annotations: TestAnnotation\[\]. [npmjs.com](https://www.npmjs.com/package/playwright/v/1.62.0)

## playwright 1.61.0 breaking changes

playwright 1.61.0, released June 15, 2026: 8 breaking changes.

- **Behavior changed** `testInfo.errors`  

Code that reads testInfo.errors will now see each sub-error of an AggregateError as a separate entry instead of a single error. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.61.0)
- **Signature changed** `test:Expect`  

Was type Expect\<ExtendedMatchers = {}> = {\<T = unknown>(actual: T, messageOrOptions?: string | {message?: string}): MakeMatchers\<void, T, ExtendedMatchers>; soft: \<T = unknown>(actual: T, messageOrOptions?: string | {message?: string}) =>... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.61.0)
- **Signature changed** `test:ListReporterOptions`  

Was type ListReporterOptions = {printSteps?: boolean}; now type ListReporterOptions = {printSteps?: boolean, printFailuresInline?: boolean}. [npmjs.com](https://www.npmjs.com/package/playwright/v/1.61.0)
- **Signature changed** `test:PlaywrightTestProject.expect`  

Was expect?: {timeout?: number; toHaveScreenshot?: {threshold?: number; maxDiffPixels?: number; maxDiffPixelRatio?: number; animations?: "allow"|"disabled"; caret?: "hide"|"initial"; scale?: "css"|"device"; stylePath?... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.61.0)
- **Signature changed** `test:PlaywrightTestProject.expect.toHaveScreenshot`  

Was toHaveScreenshot?: {threshold?: number; maxDiffPixels?: number; maxDiffPixelRatio?: number; animations?: "allow"|"disabled"; caret?: "hide"|"initial"; scale?: "css"|"device"; stylePath?: string|Array\<string>; pathTemplate?: string;}... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.61.0)
- **Signature changed** `test:Project.expect`  

Was expect?: {timeout?: number; toHaveScreenshot?: {threshold?: number; maxDiffPixels?: number; maxDiffPixelRatio?: number; animations?: "allow"|"disabled"; caret?: "hide"|"initial"; scale?: "css"|"device"; stylePath?... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.61.0)
- **Signature changed** `test:Project.expect.toHaveScreenshot`  

Was toHaveScreenshot?: {threshold?: number; maxDiffPixels?: number; maxDiffPixelRatio?: number; animations?: "allow"|"disabled"; caret?: "hide"|"initial"; scale?: "css"|"device"; stylePath?: string|Array\<string>; pathTemplate?: string;}... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.61.0)
- **Signature changed** `test:VideoMode`  

Was type VideoMode = 'off' | 'on' | 'retain-on-failure' | 'on-first-retry'; now type VideoMode = 'off' | 'on' | 'retain-on-failure' | 'on-first-retry' | 'on-all-retries' | 'retain-on-first-failure' | 'retain-on-failure-and-retries'. [npmjs.com](https://www.npmjs.com/package/playwright/v/1.61.0)

## playwright 1.60.0 breaking changes

playwright 1.60.0, released May 11, 2026: 9 breaking changes.

- **Removed** `BrowserContext.exposeBinding`  

Code that passes the handle option to BrowserContext.exposeBinding must stop passing it. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.60.0)
- **Removed** `BrowserType.connect`  

Use tracing instead of the logger option. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.60.0)
- **Removed** `BrowserType.connectOverCDP`  

Use tracing instead of the logger option. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.60.0)
- **Removed** `Locator.ariaRef`  

Use locator.ariaSnapshot() instead of Locator.ariaRef(). [github.com](https://github.com/microsoft/playwright/releases/tag/v1.60.0)
- **Removed** `Page.exposeBinding`  

Code that passes the handle option to Page.exposeBinding must stop passing it. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.60.0)
- **Removed** `videoSize`  

Use the recordVideo option instead of videoSize. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.60.0)
- **Removed** `videosPath`  

Use the recordVideo option instead of videosPath. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.60.0)
- **Behavior changed**  

Configs that override a non-option fixture or set workers to 0 or a negative value now fail. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.60.0)
- **Signature changed** `types/testReporter:Reporter.onError`  

Was onError?(error: TestError): void; now onError?(error: TestError, workerInfo?: WorkerInfo): void. [npmjs.com](https://www.npmjs.com/package/playwright/v/1.60.0)

## Older versions

5 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### playwright 1.59.0 breaking changes

playwright 1.59.0, released April 1, 2026: 14 breaking changes.

- **Removed**  

WebKit no longer runs on macOS 14. Upgrade macOS or stay on an older Playwright version. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.59.0)
- **Removed** `@playwright.experimental-ct-svelte`  

The @playwright/experimental-ct-svelte package has been removed and is no longer available. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.59.0)

And 12 more in this version.

### playwright 1.58.0 breaking changes

playwright 1.58.0, released January 23, 2026: 5 breaking changes.

- **Removed**  

WebKit no longer runs on macOS 13. Upgrade macOS or stay on an older Playwright version. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.58.0)
- **Removed** `_react`  

The \_react selector engine was removed. Use the locators guide alternatives instead. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.58.0)

And 3 more in this version.

### playwright 1.57.0 breaking changes

playwright 1.57.0, released November 25, 2025: 4 breaking changes.

- **Removed** `Page.accessibility`  

Page#accessibility was deprecated for three years and is now removed. Use an accessibility testing library such as Axe instead. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.57.0)
- **Behavior changed**  

Console messages from Service Workers are now dispatched through the worker console event. Set PLAYWRIGHT_DISABLE_SERVICE_WORKER_CONSOLE to opt out. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.57.0)

And 2 more in this version.

### playwright 1.56.0 breaking changes

playwright 1.56.0, released October 6, 2025: 3 breaking changes.

- **Behavior changed** `browserContext.backgroundPages`  

The method browserContext.backgroundPages() returns an empty list. Code that expects background pages will no longer find any. [github.com](https://github.com/microsoft/playwright/releases/tag/v1.56.0)
- **Signature changed** `test:Fixtures`  

Was type Fixtures\<T extends {} = {}, W extends {} = {}, PT extends {} = {}, PW extends {} = {}> = {\[K in keyof PW\]?: WorkerFixtureValue\<PW\[K\], W & PW> | \[WorkerFixtureValue\<PW\[K\], W & PW>, {scope: 'worker', timeout?: number | undefined... [npmjs.com](https://www.npmjs.com/package/playwright/v/1.56.0)

And 1 more in this version.

### playwright 0.17.0 breaking changes

playwright 0.17.0, released May 5, 2020: 2 breaking changes.

- **Renamed** `page.waitForSelector`  

The 'waitFor' option of page.waitForSelector was renamed to 'state'. Update calls that pass 'waitFor' to use 'state' instead. [github.com](https://github.com/microsoft/playwright/releases/tag/v0.17.0)
- **Default changed** `page.waitForSelector`  

page.waitForSelector now defaults to waiting until the element is visible. Pass an explicit state if you relied on the previous default. [github.com](https://github.com/microsoft/playwright/releases/tag/v0.17.0)

## Related packages

- [playwright-core](https://since.dev/packages/npm/playwright-core.md)
- [@playwright/test](https://since.dev/packages/npm/@playwright/test.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
