Skip to content

Commit 665671f

Browse files
committed
cherry-pick(#44054): docs: release notes for v1.65 .NET
1 parent 1bcafa5 commit 665671f

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

‎docs/src/api/class-playwrightassertionexception.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# class: PlaywrightAssertionException
2-
* since: v1.66
2+
* since: v1.65
33
* langs: csharp
44
* extends: [PlaywrightException]
55

‎docs/src/release-notes-csharp.md‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,21 @@ Console.WriteLine(normalized.ToString());
2121
### New APIs
2222

2323
- New option [`option: CDPSession.send.timeout`] in [`method: CDPSession.send`].
24+
- New [PlaywrightAssertionException] is thrown when a Playwright assertion is not met. It extends [PlaywrightException], so `catch (PlaywrightException)` blocks catch it as well.
25+
- New `ActionTimeout` and `NavigationTimeout` run settings set the default timeouts of every context that the NUnit, MSTest, xUnit and xUnit v3 base classes create. Set them in the [`.runsettings` file](./test-runners.md#using-the-runsettings-file) or on the command line:
26+
27+
```xml
28+
<RunSettings>
29+
<Playwright>
30+
<ActionTimeout>10000</ActionTimeout>
31+
<NavigationTimeout>60000</NavigationTimeout>
32+
</Playwright>
33+
</RunSettings>
34+
```
35+
36+
```bash
37+
dotnet test -- Playwright.ActionTimeout=10000 Playwright.NavigationTimeout=60000
38+
```
2439

2540
### Breaking Changes ⚠️
2641

@@ -34,6 +49,10 @@ Console.WriteLine(normalized.ToString());
3449

3550
- The `ParamsString` option in [APIRequestContext] requests is now appended to the query that the URL already has, instead of replacing it.
3651

52+
### Announcements
53+
54+
* ⚠️ Playwright for .NET now bundles Node.js 26 instead of Node.js 24. On Linux, Node.js 26 needs the `libatomic1` library.
55+
3756
### Browser Versions
3857

3958
- Chromium 158.0.8127.18

0 commit comments

Comments
 (0)