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: add v1.43 release notes for language ports (#30263)
Max Schmitt86cc252da2fd
diff --git a/docs/src/release-notes-csharp.md b/docs/src/release-notes-csharp.mdindex 040b66e218..df22402b87 100644--- a/docs/src/release-notes-csharp.md+++ b/docs/src/release-notes-csharp.md@@ -4,6 +4,50 @@ title: "Release notes"toc_max_heading_level: 2---+## Version 1.43++### New APIs++- Method [`method: BrowserContext.clearCookies`] now supports filters to remove only some cookies.++ ```csharp+ // Clear all cookies.+ await Context.ClearCookiesAsync();+ // New: clear cookies with a particular name.+ await Context.ClearCookiesAsync(new() { Name = "session-id" });+ // New: clear cookies for a particular domain.+ await Context.ClearCookiesAsync(new() { Domain = "my-origin.com" });+ ```++- New property [`method: Locator.contentFrame`] converts a [Locator] object to a [FrameLocator]. This can be useful when you have a [Locator] object obtained somewhere, and later on would like to interact with the content inside the frame.++ ```csharp+ var locator = Page.Locator("iframe[name='embedded']");+ // ...+ var frameLocator = locator.ContentFrame;+ await frameLocator.GetByRole(AriaRole.Button).ClickAsync();+ ```++- New property [`method: FrameLocator.owner`] converts a [FrameLocator] object to a [Locator]. This can be useful when you have a [FrameLocator] object obtained somewhere, and later on would like to interact with the `iframe` element.++ ```csharp+ var frameLocator = page.FrameLocator("iframe[name='embedded']");+ // ...+ var locator = frameLocator.Owner;+ await Expect(locator).ToBeVisibleAsync();+ ```++### Browser Versions++* Chromium 124.0.6367.8+* Mozilla Firefox 124.0+* WebKit 17.4++This version was also tested against the following stable channels:++* Google Chrome 123+* Microsoft Edge 123+## Version 1.42### New Locator Handlerdiff --git a/docs/src/release-notes-java.md b/docs/src/release-notes-java.mdindex 7698cd7cf1..579d135f58 100644--- a/docs/src/release-notes-java.md+++ b/docs/src/release-notes-java.md@@ -4,6 +4,50 @@ title: "Release notes"toc_max_heading_level: 2---+## Version 1.43++### New APIs++- Method [`method: BrowserContext.clearCookies`] now supports filters to remove only some cookies.++ ```java+ // Clear all cookies.+ context.clearCookies();+ // New: clear cookies with a particular name.+ context.clearCookies(new BrowserContext.ClearCookiesOptions().setName("session-id"));+ // New: clear cookies for a particular domain.+ context.clearCookies(new BrowserContext.ClearCookiesOptions().setDomain("my-origin.com"));+ ```++- New method [`method: Locator.contentFrame`] converts a [Locator] object to a [FrameLocator]. This can be useful when you have a [Locator] object obtained somewhere, and later on would like to interact with the content inside the frame.++ ```java+ Locator locator = page.locator("iframe[name='embedded']");+ // ...+ FrameLocator frameLocator = locator.contentFrame();+ frameLocator.getByRole(AriaRole.BUTTON).click();+ ```++- New method [`method: FrameLocator.owner`] converts a [FrameLocator] object to a [Locator]. This can be useful when you have a [FrameLocator] object obtained somewhere, and later on would like to interact with the `iframe` element.++ ```java+ FrameLocator frameLocator = page.frameLocator("iframe[name='embedded']");+ // ...+ Locator locator = frameLocator.owner();+ assertThat(locator).isVisible();+ ```++### Browser Versions++* Chromium 124.0.6367.8+* Mozilla Firefox 124.0+* WebKit 17.4++This version was also tested against the following stable channels:++* Google Chrome 123+* Microsoft Edge 123+## Version 1.42### Experimental JUnit integrationdiff --git a/docs/src/release-notes-python.md b/docs/src/release-notes-python.mdindex 72481e0284..789a89150c 100644--- a/docs/src/release-notes-python.md+++ b/docs/src/release-notes-python.md@@ -4,6 +4,52 @@ title: "Release notes"toc_max_heading_level: 2---+## Version 1.43++### New APIs++- Method [`method: BrowserContext.clearCookies`] now supports filters to remove only some cookies.++ ```python+ # Clear all cookies.+ context.clear_cookies()+ # New: clear cookies with a particular name.+ context.clear_cookies(name="session-id")+ # New: clear cookies for a particular domain.+ context.clear_cookies(domain="my-origin.com")+ ```++- New method [`method: Locator.contentFrame`] converts a [Locator] object to a [FrameLocator]. This can be useful when you have a [Locator] object obtained somewhere, and later on would like to interact with the content inside the frame.++ ```python+ locator = page.locator("iframe[name='embedded']")+ # ...+ frame_locator = locator.content_frame+ frame_locator.getByRole("button").click()+ ```++- New method [`method: FrameLocator.owner`] converts a [FrameLocator] object to a [Locator]. This can be useful when you have a [FrameLocator] object obtained somewhere, and later on would like to interact with the `iframe` element.++ ```python+ frame_locator = page.frame_locator("iframe[name='embedded']")+ # ...+ locator = frame_locator.owner+ expect(locator).to_be_visible()+ ```++- Conda builds are now published for macOS-arm64 and Linux-arm64.++### Browser Versions++* Chromium 124.0.6367.8+* Mozilla Firefox 124.0+* WebKit 17.4++This version was also tested against the following stable channels:++* Google Chrome 123+* Microsoft Edge 123+## Version 1.42### New Locator Handler