Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore: v1.54 release notes (#36620)
Dmitry Gozmanfab30432b151
diff --git a/docs/src/release-notes-csharp.md b/docs/src/release-notes-csharp.mdindex 2bb499a597..d743a878f0 100644--- a/docs/src/release-notes-csharp.md+++ b/docs/src/release-notes-csharp.md@@ -4,11 +4,35 @@ title: "Release notes"toc_max_heading_level: 2---+## Version 1.54++- New cookie property `PartitionKey` in [`method: BrowserContext.cookies`] and [`method: BrowserContext.addCookies`]. This property allows to save and restore partitioned cookies. See [CHIPS MDN article](https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/Privacy_sandbox/Partitioned_cookies) for more information. Note that browsers have different support and defaults for cookie partitioning.++- 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+ pwsh bin/Debug/netX/playwright.ps1 codegen --user-data-dir=./user-data+ ```++- `pwsh bin/Debug/netX/playwright.ps1 open` does not open the test recorder anymore. Use `pwsh bin/Debug/netX/playwright.ps1 codegen` instead.++- Chromium has been changing WebGL support, based on the available GPU. There is a new flag `--enable-gpu` available in [chromium headless shell](./browsers.md#chromium-headless-shell) that you can try on your hardware.++### 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+## Version 1.53### Miscellaneous-- New Steps in Trace Viewer:+- New Steps in Trace Viewer:- New method [`method: Locator.describe`] to describe a locator. Used for trace viewer.```csharp@@ -31,7 +55,7 @@ This version was also tested against the following stable channels:## Version 1.52### Highlights-+- New method [`method: LocatorAssertions.toContainClass`] to ergonomically assert individual class names on the element.```csharpdiff --git a/docs/src/release-notes-java.md b/docs/src/release-notes-java.mdindex f0ec4db107..4a3d42034e 100644--- a/docs/src/release-notes-java.md+++ b/docs/src/release-notes-java.md@@ -4,11 +4,35 @@ title: "Release notes"toc_max_heading_level: 2---+## Version 1.54++- New cookie property `partitionKey` in [`method: BrowserContext.cookies`] and [`method: BrowserContext.addCookies`]. This property allows to save and restore partitioned cookies. See [CHIPS MDN article](https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/Privacy_sandbox/Partitioned_cookies) for more information. Note that browsers have different support and defaults for cookie partitioning.++- 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+ mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args="codegen --user-data-dir=./user-data"+ ```++- `open` command does not open the test recorder anymore. Use `codegen` instead.++- Chromium has been changing WebGL support, based on the available GPU. There is a new flag `--enable-gpu` available in [chromium headless shell](./browsers.md#chromium-headless-shell) that you can try on your hardware.++### 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+## Version 1.53### Miscellaneous-- New Steps in Trace Viewer:+- New Steps in Trace Viewer:- New method [`method: Locator.describe`] to describe a locator. Used for trace viewer.```java@@ -31,7 +55,7 @@ This version was also tested against the following stable channels:## Version 1.52### Highlights-+- New method [`method: LocatorAssertions.toContainClass`] to ergonomically assert individual class names on the element.```javadiff --git a/docs/src/release-notes-js.md b/docs/src/release-notes-js.mdindex ed2911636c..d5d5f44922 100644--- a/docs/src/release-notes-js.md+++ b/docs/src/release-notes-js.md@@ -6,11 +6,58 @@ toc_max_heading_level: 2import LiteYouTube from '@site/src/components/LiteYouTube';+## Version 1.54++### Highlights++- New cookie property `partitionKey` in [`method: BrowserContext.cookies`] and [`method: BrowserContext.addCookies`]. This property allows to save and restore partitioned cookies. See [CHIPS MDN article](https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/Privacy_sandbox/Partitioned_cookies) for more information. Note that browsers have different support and defaults for cookie partitioning.++- New option `noSnippets` to disable snippets in the html report.+ ```js+ import { defineConfig } from '@playwright/test';++ export default defineConfig({+ reporter: [['html', { noSnippets: true }]]+ });+ ```++- New property `location` in test annotations, for example in [`property: TestResult.annotations`] and [`property: TestInfo.annotations`]. It shows where the annotation like `test.skip` or `test.fixme` was added.++### 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.++- Chromium has been changing WebGL support, based on the available GPU. There is a new flag `--enable-gpu` available in [chromium headless shell](./browsers.md#chromium-headless-shell) that you can try on your hardware.++### 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+## Version 1.53### Trace Viewer and HTML Reporter Updates-- New Steps in Trace Viewer and HTML reporter:+- New Steps in Trace Viewer and HTML reporter:- New option in `'html'` reporter to set the title of a specific test run:```js@@ -45,7 +92,7 @@ This version was also tested against the following stable channels:## Version 1.52### Highlights-+- New method [`method: LocatorAssertions.toContainClass`] to ergonomically assert individual class names on the element.```tsdiff --git a/docs/src/release-notes-python.md b/docs/src/release-notes-python.mdindex ca38750f76..db7732b24f 100644--- a/docs/src/release-notes-python.md+++ b/docs/src/release-notes-python.md@@ -4,11 +4,35 @@ title: "Release notes"toc_max_heading_level: 2---+## Version 1.54++- New cookie property `partition_key` in [`method: BrowserContext.cookies`] and [`method: BrowserContext.addCookies`]. This property allows to save and restore partitioned cookies. See [CHIPS MDN article](https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/Privacy_sandbox/Partitioned_cookies) for more information. Note that browsers have different support and defaults for cookie partitioning.++- 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+ playwright codegen --user-data-dir=./user-data+ ```++- `playwright open` does not open the test recorder anymore. Use `playwright codegen` instead.++- Chromium has been changing WebGL support, based on the available GPU. There is a new flag `--enable-gpu` available in [chromium headless shell](./browsers.md#chromium-headless-shell) that you can try on your hardware.++### 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+## Version 1.53### Miscellaneous-- New Steps in Trace Viewer:+- New Steps in Trace Viewer:- New method [`method: Locator.describe`] to describe a locator. Used for trace viewer.```python@@ -31,7 +55,7 @@ This version was also tested against the following stable channels:## Version 1.52### Highlights-+- New method [`method: LocatorAssertions.toContainClass`] to ergonomically assert individual class names on the element.```python