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: release notes for v1.62 Python, Java, and .NET (#42043)
Devin Roussoe4e04ac55c1d
diff --git a/docs/src/release-notes-csharp.md b/docs/src/release-notes-csharp.mdindex 59920ec1fb..3c70e4065e 100644--- a/docs/src/release-notes-csharp.md+++ b/docs/src/release-notes-csharp.md@@ -6,6 +6,39 @@ toc_max_heading_level: 2import LiteYouTube from '@site/src/components/LiteYouTube';+## Version 1.62++### πΌοΈ WebP screenshots++[`method: Page.screenshot`] and [`method: Locator.screenshot`] can now capture screenshots in the WebP format β Playwright infers the format from a `.webp` file extension, or you can set the `type` explicitly. Quality `100` (the default) is lossless, while lower values use lossy compression:++```csharp+await page.ScreenshotAsync(new() { Path = "homepage.webp", Quality = 50 });+```++### New APIs++- New `scroll` option (`"auto"` | `"none"`) on actions to opt out of Playwright's automatic scroll-into-view.+- New [`method: Locator.waitForFunction`] waits until a function β called with the matching element β returns a truthy value.+- New [`method: APIResponse.timing`] returns resource timing information for an API response.++### Announcements++* π The clipboard is now isolated from the operating system in headless mode, so tests that use `navigator.clipboard` no longer read or overwrite the clipboard of the machine running them.+* β οΈ Debian 11 is not supported anymore.++### Browser Versions++- Chromium 151.0.7922.34+- Mozilla Firefox 153.0+- WebKit 26.5++This version was also tested against the following stable channels:++- Google Chrome 151+- Microsoft Edge 151++## Version 1.61### π WebAuthn passkeysdiff --git a/docs/src/release-notes-java.md b/docs/src/release-notes-java.mdindex 66ffa3005f..b3f3f81be9 100644--- a/docs/src/release-notes-java.md+++ b/docs/src/release-notes-java.md@@ -6,6 +6,41 @@ toc_max_heading_level: 2import LiteYouTube from '@site/src/components/LiteYouTube';+## Version 1.62++### πΌοΈ WebP screenshots++[`method: Page.screenshot`] and [`method: Locator.screenshot`] can now capture screenshots in the WebP format β Playwright infers the format from a `.webp` file extension, or you can set the `type` explicitly. Quality `100` (the default) is lossless, while lower values use lossy compression:++```java+page.screenshot(new Page.ScreenshotOptions()+ .setPath(Paths.get("homepage.webp"))+ .setQuality(50));+```++### New APIs++- New `scroll` option (`"auto"` | `"none"`) on actions to opt out of Playwright's automatic scroll-into-view.+- New [`method: Locator.waitForFunction`] waits until a function β called with the matching element β returns a truthy value.+- New [`method: APIResponse.timing`] returns resource timing information for an API response.++### Announcements++* π The clipboard is now isolated from the operating system in headless mode, so tests that use `navigator.clipboard` no longer read or overwrite the clipboard of the machine running them.+* β οΈ Debian 11 is not supported anymore.++### Browser Versions++- Chromium 151.0.7922.34+- Mozilla Firefox 153.0+- WebKit 26.5++This version was also tested against the following stable channels:++- Google Chrome 151+- Microsoft Edge 151++## Version 1.61### π WebAuthn passkeysdiff --git a/docs/src/release-notes-python.md b/docs/src/release-notes-python.mdindex bdffac702d..6a4e9e9566 100644--- a/docs/src/release-notes-python.md+++ b/docs/src/release-notes-python.md@@ -6,6 +6,39 @@ toc_max_heading_level: 2import LiteYouTube from '@site/src/components/LiteYouTube';+## Version 1.62++### πΌοΈ WebP screenshots++[`method: Page.screenshot`] and [`method: Locator.screenshot`] can now capture screenshots in the WebP format β Playwright infers the format from a `.webp` file extension, or you can set the `type` explicitly. Quality `100` (the default) is lossless, while lower values use lossy compression:++```python+page.screenshot(path="homepage.webp", quality=50)+```++### New APIs++- New `scroll` option (`"auto"` | `"none"`) on actions to opt out of Playwright's automatic scroll-into-view.+- New [`method: Locator.waitForFunction`] waits until a function β called with the matching element β returns a truthy value.+- New [`method: APIResponse.timing`] returns resource timing information for an API response.++### Announcements++* π The clipboard is now isolated from the operating system in headless mode, so tests that use `navigator.clipboard` no longer read or overwrite the clipboard of the machine running them.+* β οΈ Debian 11 is not supported anymore.++### Browser Versions++- Chromium 151.0.7922.34+- Mozilla Firefox 153.0+- WebKit 26.5++This version was also tested against the following stable channels:++- Google Chrome 151+- Microsoft Edge 151++## Version 1.61### π WebAuthn passkeys