diff --git a/docs/src/release-notes-csharp.md b/docs/src/release-notes-csharp.md index 2901ff268f..8d34298e7a 100644 --- a/docs/src/release-notes-csharp.md +++ b/docs/src/release-notes-csharp.md @@ -5,6 +5,61 @@ title: "Release notes" +## Version 1.20 + +### Web-First Assertions + +Playwright for .NET 1.20 introduces [Web-First Assertions](./api/class-playwrightassertions). + +Consider the following example: + +```csharp +using System.Threading.Tasks; +using Microsoft.Playwright.NUnit; +using NUnit.Framework; + +namespace Playwright.TestingHarnessTest.NUnit +{ + public class ExampleTests : PageTest + { + [Test] + public async Task StatusBecomesSubmitted() + { + await Expect(Page.Locator(".status")).ToHaveTextAsync("Submitted"); + } + } +} +``` + +Playwright will be re-testing the node with the selector `.status` until +fetched Node has the `"Submitted"` text. It will be re-fetching the node and +checking it over and over, until the condition is met or until the timeout is +reached. You can pass this timeout as an option. + +Read more in [our documentation](./api/class-playwrightassertions). + +### Other Updates + +- New options for methods [`method: Page.screenshot`], [`method: Locator.screenshot`] and [`method: ElementHandle.screenshot`]: + * Option `ScreenshotAnimations.Disabled` rewinds all CSS animations and transitions to a consistent state + * Option `mask: Locator[]` masks given elements, overlaying them with pink `#FF00FF` boxes. +- [`method: Locator.highlight`] visually reveals element(s) for easier debugging. + +### Announcements + +- v1.20 is the last release to receive WebKit update for macOS 10.15 Catalina. Please update MacOS to keep using latest & greatest WebKit! + +### Browser Versions + +- Chromium 101.0.4921.0 +- Mozilla Firefox 97.0.1 +- WebKit 15.4 + +This version was also tested against the following stable channels: + +- Google Chrome 99 +- Microsoft Edge 99 + ## Version 1.19 ### Highlights diff --git a/docs/src/release-notes-java.md b/docs/src/release-notes-java.md index dd64943ae9..008f9c6f4d 100644 --- a/docs/src/release-notes-java.md +++ b/docs/src/release-notes-java.md @@ -5,6 +5,32 @@ title: "Release notes" +## Version 1.20 + +### Highlights + +- New options for methods [`method: Page.screenshot`], [`method: Locator.screenshot`] and [`method: ElementHandle.screenshot`]: + * Option `ScreenshotAnimations.DISABLED` rewinds all CSS animations and transitions to a consistent state + * Option `mask: Locator[]` masks given elements, overlaying them with pink `#FF00FF` boxes. +- [Trace Viewer](./trace-viewer) now shows [API testing requests](./src/test-api-testing). +- [`method: Locator.highlight`] visually reveals element(s) for easier debugging. + +### Announcements + +- v1.20 is the last release to receive WebKit update for macOS 10.15 Catalina. Please update MacOS to keep using latest & greatest WebKit! + +### Browser Versions + +- Chromium 101.0.4921.0 +- Mozilla Firefox 97.0.1 +- WebKit 15.4 + +This version was also tested against the following stable channels: + +- Google Chrome 99 +- Microsoft Edge 99 + + ## Version 1.19 ### Highlights diff --git a/docs/src/release-notes-js.md b/docs/src/release-notes-js.md index d2762e1252..09dba9c968 100644 --- a/docs/src/release-notes-js.md +++ b/docs/src/release-notes-js.md @@ -59,8 +59,7 @@ title: "Release notes" - We now ship a designated Python docker image `mcr.microsoft.com/playwright/python`. Please switch over to it if you use Python. This is the last release that includes Python inside our javascript `mcr.microsoft.com/playwright` docker image. -- v1.20 is the last release that ships WebKit for macOS 10.15 Catalina. All future versions will support WebKit for macOS 11 BigSur - and up. +- v1.20 is the last release to receive WebKit update for macOS 10.15 Catalina. Please update MacOS to keep using latest & greatest WebKit! ### Browser Versions diff --git a/docs/src/release-notes-python.md b/docs/src/release-notes-python.md index 3df16e28cf..9d67f4edfc 100644 --- a/docs/src/release-notes-python.md +++ b/docs/src/release-notes-python.md @@ -5,6 +5,33 @@ title: "Release notes" +## Version 1.20 + +### Highlights + +- New options for methods [`method: Page.screenshot`], [`method: Locator.screenshot`] and [`method: ElementHandle.screenshot`]: + * Option `animations: "disabled"` rewinds all CSS animations and transitions to a consistent state + * Option `mask: Locator[]` masks given elements, overlaying them with pink `#FF00FF` boxes. +- [Trace Viewer](./trace-viewer) now shows [API testing requests](./src/test-api-testing). +- [`method: Locator.highlight`] visually reveals element(s) for easier debugging. + +### Announcements + +- We now ship a designated Python docker image `mcr.microsoft.com/playwright/python`. Please switch over to it if you use + Python. This is the last release that includes Python inside our javascript `mcr.microsoft.com/playwright` docker image. +- v1.20 is the last release to receive WebKit update for macOS 10.15 Catalina. Please update MacOS to keep using latest & greatest WebKit! + +### Browser Versions + +- Chromium 101.0.4921.0 +- Mozilla Firefox 97.0.1 +- WebKit 15.4 + +This version was also tested against the following stable channels: + +- Google Chrome 99 +- Microsoft Edge 99 + ## Version 1.19 ### Highlights