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 1.15 release-notes (#9046)
Max Schmitt854cf9c25c7b
diff --git a/docs/src/release-notes-csharp.md b/docs/src/release-notes-csharp.mdindex 34242adb65..e186c38a64 100644--- a/docs/src/release-notes-csharp.md+++ b/docs/src/release-notes-csharp.md@@ -5,6 +5,45 @@ title: "Release notes"<!-- TOC -->+## Version 1.15++### π±οΈ Mouse Wheel++By using [`Page.Mouse.WheelAsync`](https://playwright.dev/dotnet/docs/next/api/class-mouse#mouse-wheel) you are now able to scroll vertically or horizontally.++### π New Headers API++Previously it was not possible to get multiple header values of a response. This is now possible and additional helper functions are available:++- [Request.AllHeadersAsync()](https://playwright.dev/dotnet/docs/next/api/class-request#request-all-headers)+- [Request.HeadersArrayAsync()](https://playwright.dev/dotnet/docs/next/api/class-request#request-headers-array)+- [Request.HeaderValueAsync(name: string)](https://playwright.dev/dotnet/docs/next/api/class-request#request-header-value)+- [Response.AllHeadersAsync()](https://playwright.dev/dotnet/docs/next/api/class-response#response-all-headers)+- [Response.HeadersArrayAsync()](https://playwright.dev/dotnet/docs/next/api/class-response#response-headers-array)+- [Response.HeaderValueAsync(name: string)](https://playwright.dev/dotnet/docs/next/api/class-response#response-header-value)+- [Response.HeaderValuesAsync(name: string)](https://playwright.dev/dotnet/docs/next/api/class-response/#response-header-values)++### π Forced-Colors emulation++Its now possible to emulate the `forced-colors` CSS media feature by passing it in the [context options](https://playwright.dev/dotnet/docs/next/api/class-browser#browser-new-context-option-forced-colors) or calling [Page.EmulateMediaAsync()](https://playwright.dev/dotnet/docs/next/api/class-page#page-emulate-media).++### New APIs++- [Page.RouteAsync()](https://playwright.dev/dotnet/docs/next/api/class-page#page-route) accepts new `times` option to specify how many times this route should be matched.+- [Page.SetCheckedAsync(selector: string, checked: Boolean)](https://playwright.dev/dotnet/docs/next/api/class-page#page-set-checked) and [Locator.SetCheckedAsync(selector: string, checked: Boolean)](https://playwright.dev/dotnet/docs/next/api/class-locator#locator-set-checked) was introduced to set the checked state of a checkbox.+- [Request.SizesAsync()](https://playwright.dev/dotnet/docs/next/api/class-request#request-sizes) Returns resource size information for given http request.+- [Tracing.StartChunkAsync()](https://playwright.dev/dotnet/docs/next/api/class-tracing#tracing-start-chunk) - Start a new trace chunk.+- [Tracing.StopChunkAsync()](https://playwright.dev/dotnet/docs/next/api/class-tracing#tracing-stop-chunk) - Stops a new trace chunk.++### Important β+* β¬ .NET Core Apps 2.1 are **no longer** supported for our CLI tooling. As of August 31st, 2021, .NET Core 2.1 is no [longer supported](https://devblogs.microsoft.com/dotnet/net-core-2-1-will-reach-end-of-support-on-august-21-2021/) and will not receive any security updates. We've decided to move the CLI forward and require .NET Core 3.1 as a minimum.++### Browser Versions++- Chromium 96.0.4641.0+- Mozilla Firefox 92.0+- WebKit 15.0+## Version 1.14#### β‘οΈ New "strict" modediff --git a/docs/src/release-notes-java.md b/docs/src/release-notes-java.mdindex 8ca6e24ac8..ab451f99eb 100644--- a/docs/src/release-notes-java.md+++ b/docs/src/release-notes-java.md@@ -5,6 +5,42 @@ title: "Release notes"<!-- TOC -->+## Version 1.15++### π±οΈ Mouse Wheel++By using [`Mouse.wheel`](https://playwright.dev/java/docs/api/class-mouse#mouse-wheel) you are now able to scroll vertically or horizontally.++### π New Headers API++Previously it was not possible to get multiple header values of a response. This is now possible and additional helper functions are available:++- [Request.allHeaders()](https://playwright.dev/java/docs/api/class-request#request-all-headers)+- [Request.headersArray()](https://playwright.dev/java/docs/api/class-request#request-headers-array)+- [Request.headerValue(name: string)](https://playwright.dev/java/docs/api/class-request#request-header-value)+- [Response.allHeaders()](https://playwright.dev/java/docs/api/class-response#response-all-headers)+- [Response.headersArray()](https://playwright.dev/java/docs/api/class-response#response-headers-array)+- [Response.headerValue(name: string)](https://playwright.dev/java/docs/api/class-response#response-header-value)+- [Response.headerValues(name: string)](https://playwright.dev/java/docs/api/class-response/#response-header-values)++### π Forced-Colors emulation++Its now possible to emulate the `forced-colors` CSS media feature by passing it in the [context options](https://playwright.dev/java/docs/api/class-browser#browser-new-context-option-color-scheme) or calling [Page.emulateMedia()](https://playwright.dev/java/docs/api/class-page#page-emulate-media).++### New APIs++- [Page.route()](https://playwright.dev/java/docs/api/class-page#page-route) accepts new `times` option to specify how many times this route should be matched.+- [Page.setChecked(selector: string, checked: boolean)](https://playwright.dev/java/docs/api/class-page#page-set-checked) and [Locator.setChecked(selector: string, checked: boolean)](https://playwright.dev/java/docs/api/class-locator#locator-set-checked) was introduced to set the checked state of a checkbox.+- [Request.sizes()](https://playwright.dev/java/docs/api/class-request#request-sizes) Returns resource size information for given http request.+- [Tracing.startChunk()](https://playwright.dev/java/docs/api/class-tracing#tracing-start-chunk) - Start a new trace chunk.+- [Tracing.stopChunk()](https://playwright.dev/java/docs/api/class-tracing#tracing-stop-chunk) - Stops a new trace chunk.++### Browser Versions++- Chromium 96.0.4641.0+- Mozilla Firefox 92.0+- WebKit 15.0+## Version 1.14#### β‘οΈ New "strict" modediff --git a/docs/src/release-notes-js.md b/docs/src/release-notes-js.mdindex e10c94ed58..52d8403845 100644--- a/docs/src/release-notes-js.md+++ b/docs/src/release-notes-js.md@@ -5,6 +5,63 @@ title: "Release notes"<!-- TOC -->+## Version 1.15++## π Playwright Library++### π±οΈ Mouse Wheel++By using [`Page.mouse.wheel`](https://playwright.dev/docs/api/class-mouse#mouse-wheel) you are now able to scroll vertically or horizontally.++### π New Headers API++Previously it was not possible to get multiple header values of a response. This is now possible and additional helper functions are available:++- [Request.allHeaders()](https://playwright.dev/docs/api/class-request#request-all-headers)+- [Request.headersArray()](https://playwright.dev/docs/api/class-request#request-headers-array)+- [Request.headerValue(name: string)](https://playwright.dev/docs/api/class-request#request-header-value)+- [Response.allHeaders()](https://playwright.dev/docs/api/class-response#response-all-headers)+- [Response.headersArray()](https://playwright.dev/docs/api/class-response#response-headers-array)+- [Response.headerValue(name: string)](https://playwright.dev/docs/api/class-response#response-header-value)+- [Response.headerValues(name: string)](https://playwright.dev/docs/api/class-response/#response-header-values)++### π Forced-Colors emulation++Its now possible to emulate the `forced-colors` CSS media feature by passing it in the [context options](https://playwright.dev/docs/api/class-browser#browser-new-context-option-forced-colors) or calling [Page.emulateMedia()](https://playwright.dev/docs/api/class-page#page-emulate-media).++### New APIs++- [Page.route()](https://playwright.dev/docs/api/class-page#page-route) accepts new `times` option to specify how many times this route should be matched.+- [Page.setChecked(selector: string, checked: boolean)](https://playwright.dev/docs/api/class-page#page-set-checked) and [Locator.setChecked(selector: string, checked: boolean)](https://playwright.dev/docs/api/class-locator#locator-set-checked) was introduced to set the checked state of a checkbox.+- [Request.sizes()](https://playwright.dev/docs/api/class-request#request-sizes) Returns resource size information for given http request.+- [BrowserContext.tracing.startChunk()](https://playwright.dev/docs/api/class-tracing#tracing-start-chunk) - Start a new trace chunk.+- [BrowserContext.tracing.stopChunk()](https://playwright.dev/docs/api/class-tracing#tracing-stop-chunk) - Stops a new trace chunk.++## π Playwright Test++### π€ `test.parallel()` run tests in the same file in parallel++```ts+test.describe.parallel('group', () => {+ test('runs in parallel 1', async ({ page }) => {+ });+ test('runs in parallel 2', async ({ page }) => {+ });+});+```++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 [test.describe.parallel(title, callback)](https://playwright.dev/docs/api/class-test#test-describe-parallel).++### π Add `--debug` CLI flag++By using `npx playwright test --debug` it will enable the [Playwright Inspector](https://playwright.dev/docs/debug#playwright-inspector) for you to debug your tests.++## Browser Versions++- Chromium 96.0.4641.0+- Mozilla Firefox 92.0+- WebKit 15.0+## Version 1.14### π Playwright Librarydiff --git a/docs/src/release-notes-python.md b/docs/src/release-notes-python.mdindex 88794c2832..da071bd029 100644--- a/docs/src/release-notes-python.md+++ b/docs/src/release-notes-python.md@@ -5,6 +5,42 @@ title: "Release notes"<!-- TOC -->+## Version 1.15++### π±οΈ Mouse Wheel++By using [`Page.mouse.wheel`](https://playwright.dev/python/docs/api/class-mouse#mouse-wheel) you are now able to scroll vertically or horizontally.++### π New Headers API++Previously it was not possible to get multiple header values of a response. This is now possible and additional helper functions are available:++- [Request.all_headers()](https://playwright.dev/python/docs/api/class-request#request-all-headers)+- [Request.headers_array()](https://playwright.dev/python/docs/api/class-request#request-headers-array)+- [Request.header_value(name: str)](https://playwright.dev/python/docs/api/class-request#request-header-value)+- [Response.all_headers()](https://playwright.dev/python/docs/api/class-response#response-all-headers)+- [Response.headers_array()](https://playwright.dev/python/docs/api/class-response#response-headers-array)+- [Response.header_value(name: str)](https://playwright.dev/python/docs/api/class-response#response-header-value)+- [Response.header_values(name: str)](https://playwright.dev/python/docs/api/class-response/#response-header-values)++### π Forced-Colors emulation++Its now possible to emulate the `forced-colors` CSS media feature by passing it in the [context options](https://playwright.dev/python/docs/api/class-browser#browser-new-context-option-forced-colors) or calling [Page.emulate_media()](https://playwright.dev/python/docs/api/class-page#page-emulate-media).++### New APIs++- [Page.route()](https://playwright.dev/python/docs/api/class-page#page-route) accepts new `times` option to specify how many times this route should be matched.+- [Page.set_checked(selector: str, checked: bool)](https://playwright.dev/python/docs/api/class-page#page-set-checked) and [Locator.set_checked(selector: str, checked: bool)](https://playwright.dev/python/docs/api/class-locator#locator-set-checked) was introduced to set the checked state of a checkbox.+- [Request.sizes()](https://playwright.dev/python/docs/api/class-request#request-sizes) Returns resource size information for given http request.+- [BrowserContext.tracing.start_chunk()](https://playwright.dev/python/docs/api/class-tracing#tracing-start-chunk) - Start a new trace chunk.+- [BrowserContext.tracing.stop_chunk()](https://playwright.dev/python/docs/api/class-tracing#tracing-stop-chunk) - Stops a new trace chunk.++### Browser Versions++- Chromium 96.0.4641.0+- Mozilla Firefox 92.0+- WebKit 15.0+## Version 1.14#### β‘οΈ New "strict" mode