cherry-pick(#12045): docs: add release notes for all the languages (#12046)

SHA 619d1d8617
This commit is contained in:
Andrey Lushnikov 2022-02-11 12:25:47 -07:00 committed by GitHub
parent c098cafb7a
commit 92aa600af2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 99 additions and 1 deletions

View file

@ -5,6 +5,34 @@ title: "Release notes"
<!-- TOC -->
## Version 1.19
### Highlights
- Locator now supports a `has` option that makes sure it contains another locator inside:
```csharp
await Page.Locator("article", new () { Has = Page.Locator(".highlight") }).ClickAsync();
```
Read more in [locator documentation](./api/class-locator#locator-locator-option-has)
- New [`method: Locator.page`]
- [`method: Page.screenshot`] and [`method: Locator.screenshot`] now automatically hide blinking caret
- Playwright Codegen now generates locators and frame locators
### Browser Versions
- Chromium 100.0.4863.0
- Mozilla Firefox 96.0.1
- WebKit 15.4
This version was also tested against the following stable channels:
- Google Chrome 98
- Microsoft Edge 98
## Version 1.18
### Locator Improvements

View file

@ -5,6 +5,33 @@ title: "Release notes"
<!-- TOC -->
## Version 1.19
### Highlights
- Locator now supports a `has` option that makes sure it contains another locator inside:
```java
page.locator("article", new Page.LocatorOptions().setHas(page.locator(".highlight"))).click();
```
Read more in [locator documentation](./api/class-locator#locator-locator-option-has)
- New [`method: Locator.page`]
- [`method: Page.screenshot`] and [`method: Locator.screenshot`] now automatically hide blinking caret
- Playwright Codegen now generates locators and frame locators
### Browser Versions
- Chromium 100.0.4863.0
- Mozilla Firefox 96.0.1
- WebKit 15.4
This version was also tested against the following stable channels:
- Google Chrome 98
- Microsoft Edge 98
## Version 1.18
### API Testing

View file

@ -52,7 +52,6 @@ title: "Release notes"
- 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 [`method: Test.describe.configure`].
### Other Updates
- Locator now supports a `has` option that makes sure it contains another locator inside:
@ -78,6 +77,18 @@ It is unlikely that this change will affect you, no action is required if your t
We've noticed that in rare cases, the set of tests to be executed was configured in the global setup by means of the environment variables. We also noticed some applications that were post processing the reporters' output in the global teardown. If you are doing one of the two, [learn more](https://github.com/microsoft/playwright/issues/12018)
### Browser Versions
- Chromium 100.0.4863.0
- Mozilla Firefox 96.0.1
- WebKit 15.4
This version was also tested against the following stable channels:
- Google Chrome 98
- Microsoft Edge 98
## Version 1.18
### Locator Improvements

View file

@ -5,6 +5,38 @@ title: "Release notes"
<!-- TOC -->
## Version 1.19
### Highlights
- Locator now supports a `has` option that makes sure it contains another locator inside:
```python async
await page.locator("article", has=page.locator(".highlight")).click()
```
```python sync
page.locator("article", has=page.locator(".highlight")).click()
```
Read more in [locator documentation](./api/class-locator#locator-locator-option-has)
- New [`method: Locator.page`]
- [`method: Page.screenshot`] and [`method: Locator.screenshot`] now automatically hide blinking caret
- Playwright Codegen now generates locators and frame locators
### Browser Versions
- Chromium 100.0.4863.0
- Mozilla Firefox 96.0.1
- WebKit 15.4
This version was also tested against the following stable channels:
- Google Chrome 98
- Microsoft Edge 98
## Version 1.18
### API Testing