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
-[Aria Snapshots](./aria-snapshots.md) got two new properties: [`/children`](./aria-snapshots.md#strict-matching) for strict matching and `/url` for links.
18
+
19
+
```csharp
20
+
awaitExpect(locator).ToMatchAriaSnapshotAsync(@"
21
+
- list
22
+
- /children: equal
23
+
- listitem: Feature A
24
+
- listitem:
25
+
- link ""Feature B"":
26
+
- /url: ""https://playwright.dev""
27
+
");
28
+
```
29
+
30
+
### Miscellaneous
31
+
32
+
- New option [`option: APIRequest.newContext.maxRedirects`] in [`method: APIRequest.newContext`] to control the maximum number of redirects.
33
+
- New option [`option: Locator.ariaSnapshot.ref`] in [`method: Locator.ariaSnapshot`] to generate reference for each element in the snapshot which can later be used to locate the element.
34
+
- HTML reporter now supports *NOT filtering* via `!@my-tag` or `!my-file.spec.ts` or `!p:my-project`.
35
+
36
+
### Breaking Changes
37
+
38
+
- Base URL matching is not supported in [`method: Page.frame`] anymore. We recommend migrating to [`method: Page.frameLocator`] instead for having a more convenient API.
39
+
- Glob URL patterns in methods like [`method: Page.route`] do not support `?` and `[]` anymore. We recommend using regular expressions instead.
40
+
- Method [`method: Route.continue`] does not allow to override the `Cookie` header anymore. If a `Cookie` header is provided, it will be ignored, and the cookie will be loaded from the browser's cookie store. To set custom cookies, use [`method: BrowserContext.addCookies`].
41
+
- macOS 13 is now deprecated and will no longer receive WebKit updates. Please upgrade to a more recent macOS version to continue benefiting from the latest WebKit improvements.
42
+
43
+
### Browser Versions
44
+
45
+
- Chromium 136.0.7103.25
46
+
- Mozilla Firefox 137.0
47
+
- WebKit 18.4
48
+
49
+
This version was also tested against the following stable channels:
-[Aria Snapshots](./aria-snapshots.md) got two new properties: [`/children`](./aria-snapshots.md#strict-matching) for strict matching and `/url` for links.
18
+
19
+
```java
20
+
assertThat(locator).toMatchAriaSnapshot("""
21
+
- list
22
+
- /children: equal
23
+
- listitem: Feature A
24
+
- listitem:
25
+
- link "FeatureB":
26
+
- /url: "https://playwright.dev"
27
+
""");
28
+
```
29
+
30
+
### Miscellaneous
31
+
32
+
- New option [`option: APIRequest.newContext.maxRedirects`] in [`method: APIRequest.newContext`] to control the maximum number of redirects.
33
+
- New option [`option: Locator.ariaSnapshot.ref`] in [`method: Locator.ariaSnapshot`] to generate reference for each element in the snapshot which can later be used to locate the element.
34
+
- HTML reporter now supports *NOT filtering* via `!@my-tag` or `!my-file.spec.ts` or `!p:my-project`.
35
+
36
+
### Breaking Changes
37
+
38
+
- Base URL matching is not supported in [`method: Page.frame`] anymore. We recommend migrating to [`method: Page.frameLocator`] instead for having a more convenient API.
39
+
- Glob URL patterns in methods like [`method: Page.route`] do not support `?` and `[]` anymore. We recommend using regular expressions instead.
40
+
- Method [`method: Route.continue`] does not allow to override the `Cookie` header anymore. If a `Cookie` header is provided, it will be ignored, and the cookie will be loaded from the browser's cookie store. To set custom cookies, use [`method: BrowserContext.addCookies`].
41
+
- macOS 13 is now deprecated and will no longer receive WebKit updates. Please upgrade to a more recent macOS version to continue benefiting from the latest WebKit improvements.
42
+
43
+
### Browser Versions
44
+
45
+
- Chromium 136.0.7103.25
46
+
- Mozilla Firefox 137.0
47
+
- WebKit 18.4
48
+
49
+
This version was also tested against the following stable channels:
-[Aria Snapshots](./aria-snapshots.md) got two new properties: [`/children`](./aria-snapshots.md#strict-matching) for strict matching and `/url` for links.
20
+
21
+
```ts
22
+
awaitexpect(locator).toMatchAriaSnapshot(`
23
+
- list
24
+
- /children: equal
25
+
- listitem: Feature A
26
+
- listitem:
27
+
- link "Feature B":
28
+
- /url: "https://playwright.dev"
29
+
`);
30
+
```
31
+
32
+
### Test Runner
33
+
34
+
- New property [`property: TestProject.workers`] allows to specify the number of concurrent worker processes to use for a test project. The global limit of property [`property: TestConfig.workers`] still applies.
35
+
- New [`property: TestConfig.failOnFlakyTests`] option to fail the test run if any flaky tests are detected, similarly to `--fail-on-flaky-tests`. This is useful for CI/CD environments where you want to ensure that all tests are stable before deploying.
36
+
- New property [`property: TestResult.annotations`] contains annotations for each test retry.
37
+
38
+
### Miscellaneous
39
+
40
+
- New option [`option: APIRequest.newContext.maxRedirects`] in [`method: APIRequest.newContext`] to control the maximum number of redirects.
41
+
- New option [`option: Locator.ariaSnapshot.ref`] in [`method: Locator.ariaSnapshot`] to generate reference for each element in the snapshot which can later be used to locate the element.
42
+
- HTML reporter now supports *NOT filtering* via `!@my-tag` or `!my-file.spec.ts` or `!p:my-project`.
43
+
44
+
### Breaking Changes
45
+
46
+
- Glob URL patterns in methods like [`method: Page.route`] do not support `?` and `[]` anymore. We recommend using regular expressions instead.
47
+
- Method [`method: Route.continue`] does not allow to override the `Cookie` header anymore. If a `Cookie` header is provided, it will be ignored, and the cookie will be loaded from the browser's cookie store. To set custom cookies, use [`method: BrowserContext.addCookies`].
48
+
- macOS 13 is now deprecated and will no longer receive WebKit updates. Please upgrade to a more recent macOS version to continue benefiting from the latest WebKit improvements.
49
+
50
+
### Browser Versions
51
+
52
+
- Chromium 136.0.7103.25
53
+
- Mozilla Firefox 137.0
54
+
- WebKit 18.4
55
+
56
+
This version was also tested against the following stable channels:
-[Aria Snapshots](./aria-snapshots.md) got two new properties: [`/children`](./aria-snapshots.md#strict-matching) for strict matching and `/url` for links.
18
+
19
+
```python
20
+
expect(locator).to_match_aria_snapshot("""
21
+
- list
22
+
- /children: equal
23
+
- listitem: Feature A
24
+
- listitem:
25
+
- link "Feature B":
26
+
- /url: "https://playwright.dev"
27
+
""")
28
+
```
29
+
30
+
### Miscellaneous
31
+
32
+
- New option [`option: APIRequest.newContext.maxRedirects`] in [`method: APIRequest.newContext`] to control the maximum number of redirects.
33
+
- New option [`option: Locator.ariaSnapshot.ref`] in [`method: Locator.ariaSnapshot`] to generate reference for each element in the snapshot which can later be used to locate the element.
34
+
- HTML reporter now supports *NOT filtering* via `!@my-tag` or `!my-file.spec.ts` or `!p:my-project`.
35
+
36
+
### Breaking Changes
37
+
38
+
- Base URL matching is not supported in [`method: Page.frame`] anymore. We recommend migrating to [`method: Page.frameLocator`] instead for having a more convenient API.
39
+
- Glob URL patterns in methods like [`method: Page.route`] do not support `?` and `[]` anymore. We recommend using regular expressions instead.
40
+
- Method [`method: Route.continue`] does not allow to override the `Cookie` header anymore. If a `Cookie` header is provided, it will be ignored, and the cookie will be loaded from the browser's cookie store. To set custom cookies, use [`method: BrowserContext.addCookies`].
41
+
- macOS 13 is now deprecated and will no longer receive WebKit updates. Please upgrade to a more recent macOS version to continue benefiting from the latest WebKit improvements.
42
+
43
+
### Browser Versions
44
+
45
+
- Chromium 136.0.7103.25
46
+
- Mozilla Firefox 137.0
47
+
- WebKit 18.4
48
+
49
+
This version was also tested against the following stable channels:
0 commit comments