From 8f79b8c175a0a37e9a03c5cd9af34823f8ac6af6 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Tue, 23 Feb 2021 18:46:47 -0800 Subject: [PATCH] docs: update release-notes.md (#5571) --- docs/src/release-notes.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docs/src/release-notes.md b/docs/src/release-notes.md index 69a285d5dc..155b9b28ad 100644 --- a/docs/src/release-notes.md +++ b/docs/src/release-notes.md @@ -5,6 +5,34 @@ title: "Release notes" +## Version 1.9 + +- [Playwright Inspector](./inspector.md) is a **new GUI tool** to author and debug your tests. + - **Line-by-line debugging** of your Playwright scripts, with play, pause and step-through. + - Author new scripts by **recording user actions**. + - **Generate element selectors** for your script by hovering over elements. + - Set the `PWDEBUG=1` environment variable to launch the Inspector + +- **Pause script execution** with [`method: Page.pause`]. in headed mode. Pausing the page launches [Playwright Inspector](./inspector.md) for debugging. + +- **New has-text pseudo-class** for CSS selectors. `:has-text("example")` matches any element containing `"example"` somewhere inside, possibly in a child or a descendant element. See [more examples](./selectors.md#text-selector). + +- **Page dialogs are now auto-dismissed** during execution, unless a listener for `dialog` event is configured. [Learn more](./dialogs.md) about this. + +- [Playwright for Python](https://github.com/microsoft/playwright-python) is **now stable** with an idiomatic snake case API and pre-built [Docker image](./docker.md) to run tests in CI/CD. + +#### Browser Versions + +- Chromium 90.0.4421.0 +- Mozilla Firefox 86.0b10 +- WebKit 14.1 + +#### New APIs + +- [`method: BrowserType.connectOverCDP`]. +- [`method: Page.pause`]. + + ## Version 1.8 - [Selecting elements based on layout](./selectors.md#selecting-elements-based-on-layout) with `:left-of()`, `:right-of()`, `:above()` and `:below()`.