diff --git a/docs/src/release-notes-csharp.md b/docs/src/release-notes-csharp.md index c47193f2e5..4bcf4c52b2 100644 --- a/docs/src/release-notes-csharp.md +++ b/docs/src/release-notes-csharp.md @@ -5,6 +5,34 @@ title: "Release notes" +## Version 1.19 + +### Highlights + +- Locator now supports a `has` option that makes sure it contains another locator inside: + + ```csharp + await Page.Locator("article", new () { Has = Page.Locator(".highlight") }).ClickAsync(); + ``` + + Read more in [locator documentation](./api/class-locator#locator-locator-option-has) + +- New [`method: Locator.page`] +- [`method: Page.screenshot`] and [`method: Locator.screenshot`] now automatically hide blinking caret +- Playwright Codegen now generates locators and frame locators + +### Browser Versions + +- Chromium 100.0.4863.0 +- Mozilla Firefox 96.0.1 +- WebKit 15.4 + +This version was also tested against the following stable channels: + +- Google Chrome 98 +- Microsoft Edge 98 + + ## Version 1.18 ### Locator Improvements diff --git a/docs/src/release-notes-java.md b/docs/src/release-notes-java.md index 52e3f6ce11..aa9dcd4a86 100644 --- a/docs/src/release-notes-java.md +++ b/docs/src/release-notes-java.md @@ -5,6 +5,33 @@ title: "Release notes" +## Version 1.19 + +### Highlights + +- Locator now supports a `has` option that makes sure it contains another locator inside: + + ```java + page.locator("article", new Page.LocatorOptions().setHas(page.locator(".highlight"))).click(); + ``` + + Read more in [locator documentation](./api/class-locator#locator-locator-option-has) + +- New [`method: Locator.page`] +- [`method: Page.screenshot`] and [`method: Locator.screenshot`] now automatically hide blinking caret +- Playwright Codegen now generates locators and frame locators + +### Browser Versions + +- Chromium 100.0.4863.0 +- Mozilla Firefox 96.0.1 +- WebKit 15.4 + +This version was also tested against the following stable channels: + +- Google Chrome 98 +- Microsoft Edge 98 + ## Version 1.18 ### API Testing diff --git a/docs/src/release-notes-js.md b/docs/src/release-notes-js.md index 058932cc6c..715754b421 100644 --- a/docs/src/release-notes-js.md +++ b/docs/src/release-notes-js.md @@ -52,7 +52,6 @@ title: "Release notes" - By default, tests in a single file are run in order. If you have many independent tests in a single file, you can now run them in parallel with [`method: Test.describe.configure`]. - ### Other Updates - Locator now supports a `has` option that makes sure it contains another locator inside: @@ -78,6 +77,18 @@ It is unlikely that this change will affect you, no action is required if your t We've noticed that in rare cases, the set of tests to be executed was configured in the global setup by means of the environment variables. We also noticed some applications that were post processing the reporters' output in the global teardown. If you are doing one of the two, [learn more](https://github.com/microsoft/playwright/issues/12018) +### Browser Versions + +- Chromium 100.0.4863.0 +- Mozilla Firefox 96.0.1 +- WebKit 15.4 + +This version was also tested against the following stable channels: + +- Google Chrome 98 +- Microsoft Edge 98 + + ## Version 1.18 ### Locator Improvements diff --git a/docs/src/release-notes-python.md b/docs/src/release-notes-python.md index 931a67fa44..054b08ef8a 100644 --- a/docs/src/release-notes-python.md +++ b/docs/src/release-notes-python.md @@ -5,6 +5,38 @@ title: "Release notes" +## Version 1.19 + +### Highlights + +- Locator now supports a `has` option that makes sure it contains another locator inside: + + ```python async + await page.locator("article", has=page.locator(".highlight")).click() + ``` + + ```python sync + page.locator("article", has=page.locator(".highlight")).click() + ``` + + Read more in [locator documentation](./api/class-locator#locator-locator-option-has) + +- New [`method: Locator.page`] +- [`method: Page.screenshot`] and [`method: Locator.screenshot`] now automatically hide blinking caret +- Playwright Codegen now generates locators and frame locators + +### Browser Versions + +- Chromium 100.0.4863.0 +- Mozilla Firefox 96.0.1 +- WebKit 15.4 + +This version was also tested against the following stable channels: + +- Google Chrome 98 +- Microsoft Edge 98 + + ## Version 1.18 ### API Testing