From bf5cecc545c4bf0403517fefb7a21014754885dd Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Wed, 24 May 2023 16:39:47 -0700 Subject: [PATCH] docs: release notes for language ports (#23272) --- docs/src/release-notes-csharp.md | 25 ++++++++++++++++++++++++ docs/src/release-notes-java.md | 33 ++++++++++++++++++++++++++++++++ docs/src/release-notes-python.md | 25 ++++++++++++++++++++++++ 3 files changed, 83 insertions(+) diff --git a/docs/src/release-notes-csharp.md b/docs/src/release-notes-csharp.md index 48ec5ff219..ff4bfecc47 100644 --- a/docs/src/release-notes-csharp.md +++ b/docs/src/release-notes-csharp.md @@ -4,6 +4,31 @@ title: "Release notes" toc_max_heading_level: 2 --- +## Version 1.34 + +### Highlights + +* New [`method: Locator.and`] to create a locator that matches both locators. + + ```csharp + var button = page.GetByRole(AriaRole.BUTTON).And(page.GetByTitle("Subscribe")); + ``` + +* New events [`event: BrowserContext.console`] and [`event: BrowserContext.dialog`] to subscribe to any dialogs + and console messages from any page from the given browser context. Use the new methods [`method: ConsoleMessage.page`] + and [`method: Dialog.page`] to pin-point event source. + +### Browser Versions + +* Chromium 114.0.5735.26 +* Mozilla Firefox 113.0 +* WebKit 16.4 + +This version was also tested against the following stable channels: + +* Google Chrome 113 +* Microsoft Edge 113 + ## Version 1.33 ### Locators Update diff --git a/docs/src/release-notes-java.md b/docs/src/release-notes-java.md index 6879efdf01..872fa11d31 100644 --- a/docs/src/release-notes-java.md +++ b/docs/src/release-notes-java.md @@ -4,6 +4,39 @@ title: "Release notes" toc_max_heading_level: 2 --- +--- +id: release-notes +title: "Release notes" +toc_max_heading_level: 2 +--- + +import LiteYouTube from '@site/src/components/LiteYouTube'; + +## Version 1.34 + +### Highlights + +* New [`method: Locator.and`] to create a locator that matches both locators. + + ```java + Locator button = page.getByRole(AriaRole.BUTTON).and(page.getByTitle("Subscribe")); + ``` + +* New events [`event: BrowserContext.console`] and [`event: BrowserContext.dialog`] to subscribe to any dialogs + and console messages from any page from the given browser context. Use the new methods [`method: ConsoleMessage.page`] + and [`method: Dialog.page`] to pin-point event source. + +### Browser Versions + +* Chromium 114.0.5735.26 +* Mozilla Firefox 113.0 +* WebKit 16.4 + +This version was also tested against the following stable channels: + +* Google Chrome 113 +* Microsoft Edge 113 + ## Version 1.33 ### Locators Update diff --git a/docs/src/release-notes-python.md b/docs/src/release-notes-python.md index 5755816e25..25a8c588d1 100644 --- a/docs/src/release-notes-python.md +++ b/docs/src/release-notes-python.md @@ -4,6 +4,31 @@ title: "Release notes" toc_max_heading_level: 2 --- +## Version 1.34 + +### Highlights + +* New [`method: Locator.and`] to create a locator that matches both locators. + + ```python + button = page.get_by_role("button").and_(page.get_by_title("Subscribe")) + ``` + +* New events [`event: BrowserContext.console`] and [`event: BrowserContext.dialog`] to subscribe to any dialogs + and console messages from any page from the given browser context. Use the new methods [`method: ConsoleMessage.page`] + and [`method: Dialog.page`] to pin-point event source. + +### Browser Versions + +* Chromium 114.0.5735.26 +* Mozilla Firefox 113.0 +* WebKit 16.4 + +This version was also tested against the following stable channels: + +* Google Chrome 113 +* Microsoft Edge 113 + ## Version 1.33 ### Locators Update