diff --git a/docs/src/release-notes-js.md b/docs/src/release-notes-js.md index 52d8403845..dfbd3f2637 100644 --- a/docs/src/release-notes-js.md +++ b/docs/src/release-notes-js.md @@ -7,13 +7,13 @@ title: "Release notes" ## Version 1.15 -## 🎭 Playwright Library +### 🎭 Playwright Library -### 🖱️ Mouse Wheel +#### 🖱️ 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 +#### 📜 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: @@ -25,11 +25,11 @@ Previously it was not possible to get multiple header values of a response. This - [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 +#### 🌈 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 +#### 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. @@ -37,9 +37,9 @@ Its now possible to emulate the `forced-colors` CSS media feature by passing it - [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 +### 🎭 Playwright Test -### 🤝 `test.parallel()` run tests in the same file in parallel +#### 🤝 `test.parallel()` run tests in the same file in parallel ```ts test.describe.parallel('group', () => { @@ -52,11 +52,11 @@ test.describe.parallel('group', () => { 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 +#### 🛠 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 +### Browser Versions - Chromium 96.0.4641.0 - Mozilla Firefox 92.0