You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/release-notes-js.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Take a look at yours - maybe you'll find some tests that are spending a longer t
20
20
21
21
### Chrome for Testing
22
22
23
-
Starting with this release, Playwright switches from its own build of Chromium, to using Google's[Chrome for Testing](https://developer.chrome.com/blog/chrome-for-testing/) builds.
23
+
Starting with this release, Playwright switches from Chromium, to using [Chrome for Testing](https://developer.chrome.com/blog/chrome-for-testing/) builds.
24
24
Both headed and headless browsers are subject to this.
25
25
Your tests should still be passing after upgrading to Playwright 1.57.
26
26
We're expecting no functional changes to come from this switch - the biggest change is the new icon and title in your toolbar:
@@ -29,10 +29,12 @@ We're expecting no functional changes to come from this switch - the biggest cha
29
29
30
30
If you still see an unexpected behaviour change, please [file an issue](https://github.com/microsoft/playwright/issues/new).
31
31
32
-
On Arm64 Linux, we continue to use our own build of Chromium.
32
+
On Arm64 Linux, Playwright continues to use Chromium.
33
33
34
34
### Waiting for webserver output
35
35
36
+
TODO: also add this to docs
37
+
36
38
[`property: TestConfig.webServer`] added a `wait` field. Pass a regular expression, and Playwright will wait until the webserver logs match it.
37
39
38
40
```js
@@ -66,16 +68,16 @@ You can also use it to wait for readiness of a service that doesn't expose an HT
66
68
### Breaking Changes
67
69
68
70
- After 3 years of being deprecated, we removed `Page#accessibility` from our API. Please use other libraries such as [Axe](https://www.deque.com/axe/) if you need to test page accessibility. See our Node.js [guide](https://playwright.dev/docs/accessibility-testing) for integration with Axe.
69
-
- [`method: Request.postData`], [`method: Request.postDataBuffer`] and [`method: Request.postDataJSON`] are deprecated in favour of the async [`method: Request.body`], [`method: Request.bodyBuffer`], [`method: Request.bodyJSON`].
70
71
71
72
### New APIs
72
73
73
-
* Option [`property: TestConfig.webServer`] added a `wait` field for specifying output a process kill signal other than the default `SIGKILL`.
74
-
- New property [`property: TestConfig.tag`] that's useful for differentiating between CI environments.
74
+
* Option [`property: TestConfig.webServer`] added a `wait` field TODO.
75
+
- New property [`property: TestConfig.tag`] adds a tag to all tests in this run that's useful when using merge-report (TODO: link).
75
76
- [`event: Worker.console`] event is emitted when JavaScript within the worker calls one ofconsoleAPI methods, e.g. console.log or console.dir. [`method: Worker.waitForEvent`] can be used to wait for it.
76
77
- [`method: Locator.description`] returns locator description previously set with [`method: Locator.describe`], and `Locator.toString()` now uses the description when available.
77
-
- New option [`option: Locator.click.steps`] in [`method: Locator.click`] and [`method: Locator.dragTo`] that configures the number of`mousemove` events emitted while moving the mouse pointer to the clicked element.
78
-
- [Service Worker network events](./service-workers.md#network-events-and-routing) are now reported to [`class: BrowserContext`] objects and routes.
78
+
- New option [`option: Locator.click.steps`] in [`method: Locator.click`] and [`method: Locator.dragTo`] that configures the number of`mousemove` events emitted while moving the mouse pointer to the target element.
79
+
- [Service Worker network events](./service-workers.md#network-events-and-routing) are now reported to [`class: BrowserContext`] objects and routes. TODO: mention opt-out.
80
+
-newmethod [`method: Request.postData`], [`method: Request.postDataBuffer`] and [`method: Request.postDataJSON`] TODO
0 commit comments