Download Latest Version v1.55.0 source code.tar.gz (4.1 MB)
Email in envelope

Get an email when there's a new version of Playwright for .NET

Home / v1.51.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-03-18 2.4 kB
v1.51.0 source code.tar.gz 2025-03-18 4.1 MB
v1.51.0 source code.zip 2025-03-18 5.1 MB
Totals: 3 Items   9.2 MB 0

Highlights

Here is an example following the authentication guide:

```csharp // Save storage state into the file. Make sure to include IndexedDB. await context.StorageStateAsync(new() { Path = "../../../playwright/.auth/state.json", IndexedDB = true });

// Create a new context with the saved storage state. var context = await browser.NewContextAsync(new() { StorageStatePath = "../../../playwright/.auth/state.json" }); ```

csharp // Ignore invisible todo items. var todoItems = Page.GetByTestId("todo-item").Filter(new() { Visible = true }); // Check there are exactly 3 visible ones. await Expect(todoItems).ToHaveCountAsync(3);

Browser Versions

  • Chromium 134.0.6998.35
  • Mozilla Firefox 135.0
  • WebKit 18.4

This version was also tested against the following stable channels: * Google Chrome 133 * Microsoft Edge 133

Source: README.md, updated 2025-03-18