Download Latest Version v1.54.1 source code.tar.gz (12.4 MB)
Email in envelope

Get an email when there's a new version of Playwright

Home / v1.54.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-07-09 1.9 kB
v1.54.0 source code.tar.gz 2025-07-09 12.4 MB
v1.54.0 source code.zip 2025-07-09 14.3 MB
Totals: 3 Items   26.6 MB 0

Highlights

  • New cookie property partitionKey in browserContext.cookies() and browserContext.addCookies(). This property allows to save and restore partitioned cookies. See CHIPS MDN article for more information. Note that browsers have different support and defaults for cookie partitioning.
  • New option noSnippets to disable code snippets in the html report.

```js import { defineConfig } from '@playwright/test';

export default defineConfig({ reporter: [['html', { noSnippets: true }]] }); ```

Command Line

  • New option --user-data-dir in multiple commands. You can specify the same user data dir to reuse browsing state, like authentication, between sessions.

bash npx playwright codegen --user-data-dir=./user-data

  • Option -gv has been removed from the npx playwright test command. Use --grep-invert instead.
  • npx playwright open does not open the test recorder anymore. Use npx playwright codegen instead.

Miscellaneous

  • Support for Node.js 16 has been removed.
  • Support for Node.js 18 has been deprecated, and will be removed in the future.

Browser Versions

  • Chromium 139.0.7258.5
  • Mozilla Firefox 140.0.2
  • WebKit 26.0

This version was also tested against the following stable channels: - Google Chrome 140 - Microsoft Edge 140

Source: README.md, updated 2025-07-09