SHA 619d1d8617
This commit is contained in:
parent
c098cafb7a
commit
92aa600af2
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue