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
docs: add release notes for 1.47 (#32463)
Simon Knotta8139b5d7782
diff --git a/docs/src/release-notes-csharp.md b/docs/src/release-notes-csharp.mdindex 697ce6641f..1693149933 100644--- a/docs/src/release-notes-csharp.md+++ b/docs/src/release-notes-csharp.md@@ -4,6 +4,37 @@ title: "Release notes"toc_max_heading_level: 2---+## Version 1.47++### Network Tab improvements++The Network tab in the trace viewer now allows searching and filtering by asset type:++++And for fonts, it now shows a nice preview:++++### Miscellaneous++- The `mcr.microsoft.com/playwright-dotnet:v1.47.0` now serves a Playwright image based on Ubuntu 24.04 Noble.+ To use the 22.04 jammy-based image, please use `mcr.microsoft.com/playwright-dotnet:v1.47.0-jammy` instead.+- TLS client certificates can now be passed from memory by passing [`option: cert`] and [`option: key`] as byte arrays instead of file paths.+- [`option: noWaitAfter`] in [`method: Locator.selectOption`] was deprecated.+- We've seen reports of WebGL in Webkit misbehaving on GitHub Actions `macos-13`. We recommend upgrading GitHub Actions to `macos-14`.++### Browser Versions++- Chromium 129.0.6668.22+- Mozilla Firefox 130.0+- WebKit 18.0++This version was also tested against the following stable channels:++- Google Chrome 128+- Microsoft Edge 128+## Version 1.46### TLS Client Certificatesdiff --git a/docs/src/release-notes-java.md b/docs/src/release-notes-java.mdindex cb948b15da..686a444634 100644--- a/docs/src/release-notes-java.md+++ b/docs/src/release-notes-java.md@@ -4,6 +4,37 @@ title: "Release notes"toc_max_heading_level: 2---+## Version 1.47++### Network Tab improvements++The Network tab in the trace viewer now allows searching and filtering by asset type:++++And for fonts, it now shows a nice preview:++++### Miscellaneous++- The `mcr.microsoft.com/playwright-java:v1.47.0` now serves a Playwright image based on Ubuntu 24.04 Noble.+ To use the 22.02 jammy-based image, please use `mcr.microsoft.com/playwright-java:v1.47.0-jammy` instead.+- TLS client certificates can now be passed from memory by passing [`option: cert`] and [`option: key`] as byte arrays instead of file paths.+- [`option: noWaitAfter`] in [`method: Locator.selectOption`] was deprecated.+- We've seen reports of WebGL in Webkit misbehaving on GitHub Actions `macos-13`. We recommend upgrading GitHub Actions to `macos-14`.++### Browser Versions++- Chromium 129.0.6668.22+- Mozilla Firefox 130.0+- WebKit 18.0++This version was also tested against the following stable channels:++- Google Chrome 128+- Microsoft Edge 128+## Version 1.46### TLS Client Certificatesdiff --git a/docs/src/release-notes-js.md b/docs/src/release-notes-js.mdindex c4434d60f5..aa62541ce5 100644--- a/docs/src/release-notes-js.md+++ b/docs/src/release-notes-js.md@@ -6,6 +6,67 @@ toc_max_heading_level: 2import LiteYouTube from '@site/src/components/LiteYouTube';+## Version 1.47++### Network Tab improvements++The Network tab in the UI mode and trace viewer now allows searching and filtering by asset type:++++And for fonts, it now shows a nice preview:+++++### `--tsconfig` CLI option++By default, Playwright will look up the closest tsconfig for each imported file using a heuristic. You can now specify a single tsconfig file in the command line, and Playwright will use it for all imported files, not only test files:++```sh+# Pass a specific tsconfig+npx playwright test --tsconfig tsconfig.test.json+```++### [APIRequestContext] now accepts [`URLSearchParams`](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams) and `string` as query parameters++You can now pass [`URLSearchParams`](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams) and `string` as query parameters to [APIRequestContext]:++```ts+test('query params', async ({ request }) => {+ const searchParams = new URLSearchParams();+ searchParams.set('userId', 1);+ const response = await request.get(+ 'https://jsonplaceholder.typicode.com/posts',+ {+ params: searchParams // or as a string: 'userId=1'+ }+ );+ // ...+});+```++### Miscellaneous++- The `mcr.microsoft.com/playwright:v1.47.0` now serves a Playwright image based on Ubuntu 24.04 Noble.+ To use the 22.04 jammy-based image, please use `mcr.microsoft.com/playwright:v1.47.0-jammy` instead.+- New option [`option: behavior`] in [`method: Page.removeAllListeners`], [`method: Browser.removeAllListeners`] and [`method: BrowserContext.removeAllListeners`] to wait for ongoing listeners to complete.+- TLS client certificates can now be passed from memory by passing [`option: cert`] and [`option: key`] as buffers instead of file paths.+- Attachments with a `text/html` content type can now be opened in a new tab in the HTML report. This is useful for including third-party reports or other HTML content in the Playwright test report and distributing it to your team.+- [`option: noWaitAfter`] in [`method: Locator.selectOption`] was deprecated.+- We've seen reports of WebGL in Webkit misbehaving on GitHub Actions `macos-13`. We recommend upgrading GitHub Actions to `macos-14`.++### Browser Versions++- Chromium 129.0.6668.22+- Mozilla Firefox 130.0+- WebKit 18.0++This version was also tested against the following stable channels:++- Google Chrome 128+- Microsoft Edge 128+## Version 1.46<LiteYouTubediff --git a/docs/src/release-notes-python.md b/docs/src/release-notes-python.mdindex d19589023f..599e3e889d 100644--- a/docs/src/release-notes-python.md+++ b/docs/src/release-notes-python.md@@ -4,6 +4,37 @@ title: "Release notes"toc_max_heading_level: 2---+## Version 1.47++### Network Tab improvements++The Network tab in the trace viewer now allows searching and filtering by asset type:++++And for fonts, it now shows a nice preview:++++### Miscellaneous++- The `mcr.microsoft.com/playwright-python:v1.47.0` now serves a Playwright image based on Ubuntu 24.04 Noble.+ To use the 22.04 jammy-based image, please use `mcr.microsoft.com/playwright-python:v1.47.0-jammy` instead.+- TLS client certificates can now be passed from memory by passing [`option: cert`] and [`option: key`] as bytes instead of file paths.+- [`option: noWaitAfter`] in [`method: Locator.selectOption`] was deprecated.+- We've seen reports of WebGL in Webkit misbehaving on GitHub Actions `macos-13`. We recommend upgrading GitHub Actions to `macos-14`.++### Browser Versions++- Chromium 129.0.6668.22+- Mozilla Firefox 130.0+- WebKit 18.0++This version was also tested against the following stable channels:++- Google Chrome 128+- Microsoft Edge 128+## Version 1.46### TLS Client Certificates