Skip to content

Commit 26a9e47

Browse files
authored
cherry-pick(#42043): docs: release notes for v1.62 Python, Java, and .NET (#42044)
Cherry-pick of #42043 so the language release notes are on `release-1.62`. `playwright.dev`'s `roll-stable` workflow rolls docs from the highest `release-*` branch, so without this the website would still show `1.61` as the latest Python, Java, and .NET release notes.
1 parent 0a81d5d commit 26a9e47

3 files changed

Lines changed: 101 additions & 0 deletions

File tree

‎docs/src/release-notes-csharp.md‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,39 @@ toc_max_heading_level: 2
66

77
import LiteYouTube from '@site/src/components/LiteYouTube';
88

9+
## Version 1.62
10+
11+
### 🖼️ WebP screenshots
12+
13+
[`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:
14+
15+
```csharp
16+
await page.ScreenshotAsync(new() { Path = "homepage.webp", Quality = 50 });
17+
```
18+
19+
### New APIs
20+
21+
- New `scroll` option (`"auto"` | `"none"`) on actions to opt out of Playwright's automatic scroll-into-view.
22+
- New [`method: Locator.waitForFunction`] waits until a function — called with the matching element — returns a truthy value.
23+
- New [`method: APIResponse.timing`] returns resource timing information for an API response.
24+
25+
### Announcements
26+
27+
* 📋 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.
28+
* ⚠️ Debian 11 is not supported anymore.
29+
30+
### Browser Versions
31+
32+
- Chromium 151.0.7922.34
33+
- Mozilla Firefox 153.0
34+
- WebKit 26.5
35+
36+
This version was also tested against the following stable channels:
37+
38+
- Google Chrome 151
39+
- Microsoft Edge 151
40+
41+
942
## Version 1.61
1043

1144
### 🔑 WebAuthn passkeys

‎docs/src/release-notes-java.md‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,41 @@ toc_max_heading_level: 2
66

77
import LiteYouTube from '@site/src/components/LiteYouTube';
88

9+
## Version 1.62
10+
11+
### 🖼️ WebP screenshots
12+
13+
[`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:
14+
15+
```java
16+
page.screenshot(new Page.ScreenshotOptions()
17+
.setPath(Paths.get("homepage.webp"))
18+
.setQuality(50));
19+
```
20+
21+
### New APIs
22+
23+
- New `scroll` option (`"auto"` | `"none"`) on actions to opt out of Playwright's automatic scroll-into-view.
24+
- New [`method: Locator.waitForFunction`] waits until a function — called with the matching element — returns a truthy value.
25+
- New [`method: APIResponse.timing`] returns resource timing information for an API response.
26+
27+
### Announcements
28+
29+
* 📋 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.
30+
* ⚠️ Debian 11 is not supported anymore.
31+
32+
### Browser Versions
33+
34+
- Chromium 151.0.7922.34
35+
- Mozilla Firefox 153.0
36+
- WebKit 26.5
37+
38+
This version was also tested against the following stable channels:
39+
40+
- Google Chrome 151
41+
- Microsoft Edge 151
42+
43+
944
## Version 1.61
1045

1146
### 🔑 WebAuthn passkeys

‎docs/src/release-notes-python.md‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,39 @@ toc_max_heading_level: 2
66

77
import LiteYouTube from '@site/src/components/LiteYouTube';
88

9+
## Version 1.62
10+
11+
### 🖼️ WebP screenshots
12+
13+
[`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:
14+
15+
```python
16+
page.screenshot(path="homepage.webp", quality=50)
17+
```
18+
19+
### New APIs
20+
21+
- New `scroll` option (`"auto"` | `"none"`) on actions to opt out of Playwright's automatic scroll-into-view.
22+
- New [`method: Locator.waitForFunction`] waits until a function — called with the matching element — returns a truthy value.
23+
- New [`method: APIResponse.timing`] returns resource timing information for an API response.
24+
25+
### Announcements
26+
27+
* 📋 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.
28+
* ⚠️ Debian 11 is not supported anymore.
29+
30+
### Browser Versions
31+
32+
- Chromium 151.0.7922.34
33+
- Mozilla Firefox 153.0
34+
- WebKit 26.5
35+
36+
This version was also tested against the following stable channels:
37+
38+
- Google Chrome 151
39+
- Microsoft Edge 151
40+
41+
942
## Version 1.61
1043

1144
### 🔑 WebAuthn passkeys

0 commit comments

Comments
 (0)