playwright-core 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-core 1.65.0 breaking changes
- Removed
Playwright no longer tests on Node.js 20. Use Node.js 22, 24 or 26 as listed in the system requirements. github.com - Behavior changed
Test locations of imported calls such as test( in CommonJS output now point to the start of the callee, changing reported column numbers. github.com - Behavior changed
The blob reporter again deletes the content of its output directory before writing the report, so other files there are removed. github.com - Behavior changed
CSS, Less and SCSS imports in test files now load as empty modules instead of being removed, so the imported file must exist. 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
APIRequestContext
String and URLSearchParams values of the params option are now appended to the query the URL already has, instead of replacing it. github.com - Behavior changed
apiRequestContext.cookies
With a URL, host-only cookies no longer match subdomains and Path=/api cookies no longer match /apiv2. Path=/foo/ no longer matches /foo. github.com - Behavior changed
browserContext.cookies
With a URL, host-only cookies no longer match subdomains and Path=/api cookies no longer match /apiv2. Path=/foo/ no longer matches /foo. github.com - Behavior changed
browserType.launch
Credentials in the proxy option now answer only proxy challenges. To authenticate on a website, use httpCredentials. github.com - Behavior changed
locator.check
Actions now wait for the element to be not inert, and time out if it stays inert. github.com - Behavior changed
locator.clear
Actions now wait for the element to be not inert, and time out if it stays inert. github.com - Behavior changed
locator.click
Actions now wait for the element to be not inert, and time out if it stays inert. github.com - Behavior changed
locator.fill
Actions now wait for the element to be not inert, and time out if it stays inert. github.com - Behavior changed
locator.selectOption
Actions now wait for the element to be not inert, and time out if it stays inert. github.com - Behavior changed
locator.tap
Actions now wait for the element to be not inert, and time out if it 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 and aria snapshot assertions. github.com - Default changed
Class fields now follow useDefineForClassFields in tsconfig.json, enabled for ES2022 and later targets. Field initializers that read constructor parameter properties fail; move them into the constructor or set useDefineForClassFields to... github.com - Signature changed
CDPSession.send
Was send<T extends keyof Protocol.CommandParameters>(method: T, params?: Protocol.CommandParameters[T]): Promise<Protocol.CommandReturnValues[T]>; now send<T extends keyof Protocol.CommandParameters>(method: T, params?... npmjs.com - Signature changed
test.fail
test.fail() now accepts only a description, which is recorded as the test annotation. Remove any other arguments. github.com - Signature changed
test.fixme
test.fixme() now accepts only a description, which is recorded as the test annotation. Remove any other arguments. github.com - Signature changed
test.skip
test.skip() now accepts only a description, which is recorded as the test annotation. Remove any other arguments. github.com - Signature changed
test.slow
test.slow() now accepts only a description, which is recorded as the test annotation. Remove any other arguments. github.com
playwright-core 1.64.0 breaking changes
- Behavior changed
locator.isVisible
Actions, locator.isVisible() and toBeVisible() now consider elements inside a non-visible iframe as hidden. github.com - Behavior changed
updateSnapshots
The mode used when updateSnapshots is not specified is now called 'default'; it still writes missing snapshots and fails the test. The 'missing' mode now passes the run. github.com - Default changed
screen
Using device descriptors now sets window.screen and media queries to the emulated screen size; set screen to undefined to keep the previous behavior. github.com - Signature changed
AndroidDevice.launchBrowser
Was launchBrowser(options?: {acceptDownloads?: boolean; args?: Array<string>; baseURL?: string; bypassCSP?: boolean; colorScheme?: null|"light"|"dark"|"no-preference"; contrast?: null|"no-preference"|"more"; deviceScaleFactor?: number... npmjs.com - Signature changed
Browser.newPage
Was newPage(options?: {acceptDownloads?: boolean; baseURL?: string; bypassCSP?: boolean; clientCertificates?: Array<{origin: string; certPath?: string; cert?: Buffer; keyPath?: string; key?: Buffer; pfxPath?: string; pfx?: Buffer... npmjs.com - Signature changed
BrowserContextOptions.recordVideo
Was recordVideo?: {dir?: string; size?: {width: number; height: number;}; showActions?: {duration?: number; position?: "top-left"|"top"|"top-right"|"bottom-left"|"bottom"|"bottom-right"; fontSize?: number; cursor?: "none"|"pointer";};}... npmjs.com - Signature changed
BrowserContextOptions.recordVideo.showActions
Was showActions?: {duration?: number; position?: "top-left"|"top"|"top-right"|"bottom-left"|"bottom"|"bottom-right"; fontSize?: number; cursor?: "none"|"pointer";}; now showActions?: {duration?: number; position?... npmjs.com - Signature changed
BrowserType.launchPersistentContext
Was launchPersistentContext(userDataDir: string, options?: {acceptDownloads?: boolean; args?: Array<string>; artifactsDir?: string; baseURL?: string; bypassCSP?: boolean; channel?: string; chromiumSandbox?: boolean; clientCertificates?... npmjs.com - Signature changed
Credentials.create
Was create(rpId: string, options?: {id?: string; privateKey?: string; publicKey?: string; userHandle?: string;}): Promise<{id: string; rpId: string; userHandle: string; privateKey: string; publicKey: string;}>; now create(rpId: string... npmjs.com - Signature changed
Credentials.get
Was get(options?: {id?: string; rpId?: string;}): Promise<Array<{id: string; rpId: string; userHandle: string; privateKey: string; publicKey: string;}>>; now get(options?: {id?: string; rpId?: string;}): Promise<Array<{id: string; rpId... npmjs.com
And 8 more in this version. Sign up to see every change
playwright-core 1.63.0 breaking changes
- Removed
Playwright 1.63.0 drops support for Ubuntu 20.04. Upgrade the operating system to keep using this release. github.com - Signature changed
AndroidDevice.launchBrowser
Was launchBrowser(options?: {acceptDownloads?: boolean; args?: Array<string>; baseURL?: string; bypassCSP?: boolean; colorScheme?: null|"light"|"dark"|"no-preference"; contrast?: null|"no-preference"|"more"; deviceScaleFactor?: number... npmjs.com - Signature changed
APIRequest.newContext
Was newContext(options?: {baseURL?: string; clientCertificates?: Array<{origin: string; certPath?: string; cert?: Buffer; keyPath?: string; key?: Buffer; pfxPath?: string; pfx?: Buffer; passphrase?: string;}>; extraHTTPHeaders?: {[key... npmjs.com - Signature changed
APIRequestContext.delete
Was delete(url: string, options?: {data?: string|Buffer|Serializable; failOnStatusCode?: boolean; form?: {[key: string]: string|number|boolean;}|FormData; headers?: {[key: string]: string;}; ignoreHTTPSErrors?: boolean; maxRedirects?... npmjs.com - Signature changed
APIRequestContext.fetch
Was fetch(urlOrRequest: string|Request, options?: {data?: string|Buffer|Serializable; failOnStatusCode?: boolean; form?: {[key: string]: string|number|boolean;}|FormData; headers?: {[key: string]: string;}; ignoreHTTPSErrors?: boolean... npmjs.com - Signature changed
APIRequestContext.get
Was get(url: string, options?: {data?: string|Buffer|Serializable; failOnStatusCode?: boolean; form?: {[key: string]: string|number|boolean;}|FormData; headers?: {[key: string]: string;}; ignoreHTTPSErrors?: boolean; maxRedirects?: number... npmjs.com - Signature changed
APIRequestContext.head
Was head(url: string, options?: {data?: string|Buffer|Serializable; failOnStatusCode?: boolean; form?: {[key: string]: string|number|boolean;}|FormData; headers?: {[key: string]: string;}; ignoreHTTPSErrors?: boolean; maxRedirects?... npmjs.com - Signature changed
APIRequestContext.patch
Was patch(url: string, options?: {data?: string|Buffer|Serializable; failOnStatusCode?: boolean; form?: {[key: string]: string|number|boolean;}|FormData; headers?: {[key: string]: string;}; ignoreHTTPSErrors?: boolean; maxRedirects?... npmjs.com - Signature changed
APIRequestContext.post
Was post(url: string, options?: {data?: string|Buffer|Serializable; failOnStatusCode?: boolean; form?: {[key: string]: string|number|boolean;}|FormData; headers?: {[key: string]: string;}; ignoreHTTPSErrors?: boolean; maxRedirects?... npmjs.com - Signature changed
APIRequestContext.put
Was put(url: string, options?: {data?: string|Buffer|Serializable; failOnStatusCode?: boolean; form?: {[key: string]: string|number|boolean;}|FormData; headers?: {[key: string]: string;}; ignoreHTTPSErrors?: boolean; maxRedirects?: number... npmjs.com
And 14 more in this version. Sign up to see every change
playwright-core 1.62.0 breaking changes
- Removed
Playwright no longer supports Debian 11. Move to a newer Debian release to keep using this version. github.com - Signature changed
AndroidDevice.launchBrowser
Was launchBrowser(options?: {acceptDownloads?: boolean; args?: Array<string>; baseURL?: string; bypassCSP?: boolean; colorScheme?: null|"light"|"dark"|"no-preference"; contrast?: null|"no-preference"|"more"; deviceScaleFactor?: number... npmjs.com - Signature changed
AndroidDevice.waitForEvent
Was waitForEvent(event: 'close', optionsOrPredicate?: {predicate?: (androidDevice: AndroidDevice) => boolean | Promise<boolean>, timeout?: number} | ((androidDevice: AndroidDevice) => boolean | Promise<boolean>)): Promise<AndroidDevice>... npmjs.com - Signature changed
APIRequestContext.delete
Was delete(url: string, options?: {data?: string|Buffer|Serializable; failOnStatusCode?: boolean; form?: {[key: string]: string|number|boolean;}|FormData; headers?: {[key: string]: string;}; ignoreHTTPSErrors?: boolean; maxRedirects?... npmjs.com - Signature changed
APIRequestContext.fetch
Was fetch(urlOrRequest: string|Request, options?: {data?: string|Buffer|Serializable; failOnStatusCode?: boolean; form?: {[key: string]: string|number|boolean;}|FormData; headers?: {[key: string]: string;}; ignoreHTTPSErrors?: boolean... npmjs.com - Signature changed
APIRequestContext.get
Was get(url: string, options?: {data?: string|Buffer|Serializable; failOnStatusCode?: boolean; form?: {[key: string]: string|number|boolean;}|FormData; headers?: {[key: string]: string;}; ignoreHTTPSErrors?: boolean; maxRedirects?: number... npmjs.com - Signature changed
APIRequestContext.head
Was head(url: string, options?: {data?: string|Buffer|Serializable; failOnStatusCode?: boolean; form?: {[key: string]: string|number|boolean;}|FormData; headers?: {[key: string]: string;}; ignoreHTTPSErrors?: boolean; maxRedirects?... npmjs.com - Signature changed
APIRequestContext.patch
Was patch(url: string, options?: {data?: string|Buffer|Serializable; failOnStatusCode?: boolean; form?: {[key: string]: string|number|boolean;}|FormData; headers?: {[key: string]: string;}; ignoreHTTPSErrors?: boolean; maxRedirects?... npmjs.com - Signature changed
APIRequestContext.post
Was post(url: string, options?: {data?: string|Buffer|Serializable; failOnStatusCode?: boolean; form?: {[key: string]: string|number|boolean;}|FormData; headers?: {[key: string]: string;}; ignoreHTTPSErrors?: boolean; maxRedirects?... npmjs.com - Signature changed
APIRequestContext.put
Was put(url: string, options?: {data?: string|Buffer|Serializable; failOnStatusCode?: boolean; form?: {[key: string]: string|number|boolean;}|FormData; headers?: {[key: string]: string;}; ignoreHTTPSErrors?: boolean; maxRedirects?: number... npmjs.com
And 140 more in this version. Sign up to see every change
playwright-core 1.61.0 breaking changes
- Signature changed
Screencast.showActions
Was showActions(options?: {duration?: number; fontSize?: number; position?: "top-left"|"top"|"top-right"|"bottom-left"|"bottom"|"bottom-right";}): Promise<Disposable>; now showActions(options?: {cursor?: "none"|"pointer"; duration?... npmjs.com - Signature changed
Screencast.start
Was start(options?: {onFrame?: (frame: {data: Buffer, viewportWidth: number, viewportHeight: number}) => Promise<any>|any; path?: string; size?: {width: number; height: number;}; quality?: number; annotate?: {duration?: number; position?... npmjs.com
playwright-core 1.60.0 breaking changes
- Removed
BrowserContextOptions.videoSize
The context options videosPath and videoSize have been removed. Use recordVideo instead. npmjs.com - Removed
BrowserContextOptions.videosPath
The context options videosPath and videoSize have been removed. Use recordVideo instead. npmjs.com - Removed
BrowserType.connect
The logger option on BrowserType.connect has been removed. Use tracing instead. github.com - Removed
BrowserType.connectOverCDP
The logger option on BrowserType.connectOverCDP has been removed. Use tracing instead. github.com - Removed
ConnectOptions.logger
ConnectOptions.logger was removed in playwright-core 1.60.0 npmjs.com - Removed
ConnectOverCDPOptions.logger
ConnectOverCDPOptions.logger was removed in playwright-core 1.60.0 npmjs.com - Removed
Locator.ariaRef
Locator.ariaRef() has been removed. Use the standard locator.ariaSnapshot() pipeline instead. github.com - Behavior changed
reporter.onError
reporter.onError() now receives an extra workerInfo argument for fixture teardown errors. github.com - Behavior changed
testProject.snapshotPathTemplate
The test runner now errors when a config overrides a non-option fixture, and rejects workers set to 0 or negative values. github.com - Signature changed
AndroidDevice.launchBrowser
Was launchBrowser(options?: {acceptDownloads?: boolean; args?: Array<string>; baseURL?: string; bypassCSP?: boolean; colorScheme?: null|"light"|"dark"|"no-preference"; contrast?: null|"no-preference"|"more"; deviceScaleFactor?: number... npmjs.com
And 13 more in this version. Sign up to see every change
Older versions
4 older versions, each with its first changes. Sign up to see every change
Show 4 older versions
playwright-core 1.59.0 breaking changes
- Removed
WebKit no longer runs on macOS 14. Upgrade macOS or keep using an older Playwright version. github.com - Behavior changed
junit
The junit reporter distinguishes error types, so some entries previously written as failure are now written as error. Update CI parsers that read these tags. github.com
And 34 more in this version.
playwright-core 1.58.0 breaking changes
- Removed
WebKit no longer runs on macOS 13. Upgrade macOS or keep using an older Playwright version. github.com - Removed
_react
The _react selector is gone in 1.58. Use the locator guide alternatives instead. github.com
And 7 more in this version.
playwright-core 1.57.0 breaking changes
- Removed
_bidiChromium
_bidiChromium was removed in playwright-core 1.57.0 npmjs.com - Removed
_bidiFirefox
_bidiFirefox was removed in playwright-core 1.57.0 npmjs.com
And 13 more in this version.
playwright-core 0.17.0 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 - Behavior changed
page.waitForSelector
WebKit now blocks third party cookies by default, which can change behavior of existing code relying on them. github.com
And 1 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.