Microsoft.Playwright 1.56.0
Playwright for .NET ðŸŽ
| Linux | macOS | Windows | |
|---|---|---|---|
| Chromium 141.0.7390.37 | ✅ | ✅ | ✅ |
| WebKit 26.0 | ✅ | ✅ | ✅ |
| Firefox 142.0.1 | ✅ | ✅ | ✅ |
Playwright for .NET is the official language port of Playwright, the library to automate Chromium, Firefox and WebKit with a single API. Playwright is built to enable cross-browser web automation that is ever-green, capable, reliable and fast.
Documentation
https://playwright.dev/dotnet/docs/intro
API Reference
https://playwright.dev/dotnet/docs/api/class-playwright
using System.Threading.Tasks;
using Microsoft.Playwright;
using var playwright = await Playwright.CreateAsync();
await using var browser = await playwright.Chromium.LaunchAsync(new() { Headless = false });
var page = await browser.NewPageAsync();
await page.GotoAsync("https://playwright.dev/dotnet");
await page.ScreenshotAsync(new() { Path = "screenshot.png" });
Other languages
More comfortable in another programming language? Playwright is also available in
- TypeScript,
- Python,
- Java.
No packages depend on Microsoft.Playwright.
.NET Standard 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Text.Json (>= 6.0.10)
| Version | Downloads | Last updated |
|---|---|---|
| 1.56.0 | 8 | 11/12/2025 |
| 1.55.0 | 9 | 09/05/2025 |
| 1.55.0-beta-4 | 17 | 08/14/2025 |
| 1.55.0-beta-3 | 10 | 08/18/2025 |
| 1.55.0-beta-2 | 11 | 08/15/2025 |
| 1.55.0-beta-1 | 12 | 08/16/2025 |
| 1.54.0 | 16 | 07/26/2025 |
| 1.53.0 | 29 | 06/26/2025 |
| 1.52.0 | 31 | 05/01/2025 |
| 1.51.0 | 39 | 03/22/2025 |
| 1.50.0 | 44 | 02/03/2025 |
| 1.50.0-beta-2 | 55 | 11/27/2024 |
| 1.50.0-beta-1 | 42 | 11/27/2024 |
| 1.49.0 | 39 | 11/27/2024 |
| 1.48.0 | 44 | 10/21/2024 |
| 1.47.0 | 47 | 09/16/2024 |
| 1.46.0 | 52 | 08/13/2024 |
| 1.45.1 | 53 | 07/25/2024 |
| 1.45.0 | 59 | 07/05/2024 |
| 1.44.0 | 59 | 05/21/2024 |
| 1.43.0 | 57 | 04/23/2024 |
| 1.42.0 | 54 | 03/08/2024 |
| 1.42.0-beta-3 | 60 | 02/17/2024 |
| 1.42.0-beta-2 | 70 | 02/17/2024 |
| 1.42.0-beta-1 | 67 | 02/17/2024 |
| 1.41.2 | 76 | 02/17/2024 |
| 1.41.1 | 68 | 02/16/2024 |
| 1.41.0 | 74 | 02/17/2024 |
| 1.40.0 | 73 | 11/26/2023 |
| 1.39.0 | 83 | 10/20/2023 |
| 1.38.0 | 67 | 09/23/2023 |
| 1.37.1 | 70 | 09/02/2023 |
| 1.37.0 | 67 | 11/17/2023 |
| 1.36.0 | 75 | 08/23/2023 |
| 1.36.0-beta-1 | 72 | 10/18/2023 |
| 1.35.0 | 78 | 08/15/2023 |
| 1.34.0 | 69 | 08/09/2023 |
| 1.33.0 | 75 | 08/03/2023 |
| 1.33.0-beta-1 | 64 | 10/20/2023 |
| 1.32.0 | 69 | 10/04/2023 |
| 1.31.1 | 64 | 08/06/2023 |
| 1.31.0 | 80 | 09/26/2023 |
| 1.31.0-beta-1 | 68 | 10/23/2023 |
| 1.30.0 | 78 | 08/09/2023 |
| 1.29.0 | 63 | 08/05/2023 |
| 1.28.0 | 86 | 08/07/2023 |
| 1.27.2 | 73 | 08/18/2023 |
| 1.27.1 | 86 | 08/10/2023 |
| 1.27.0 | 78 | 08/09/2023 |
| 1.26.0 | 84 | 08/03/2023 |
| 1.25.0 | 83 | 08/09/2023 |
| 1.25.0-next-2 | 74 | 08/03/2023 |
| 1.25.0-next-1 | 76 | 09/30/2023 |
| 1.24.1 | 87 | 08/09/2023 |
| 1.24.0 | 82 | 09/30/2023 |
| 1.23.0 | 83 | 08/14/2023 |
| 1.23.0-next-4 | 73 | 08/20/2023 |
| 1.23.0-next-3 | 72 | 09/28/2023 |
| 1.23.0-next-2 | 69 | 10/02/2023 |
| 1.23.0-next-1 | 75 | 09/23/2023 |
| 1.22.0 | 86 | 06/07/2022 |
| 1.21.0 | 61 | 08/04/2023 |
| 1.20.2 | 77 | 08/06/2023 |
| 1.20.1 | 70 | 08/12/2023 |
| 1.20.0 | 79 | 08/12/2023 |
| 1.20.0-next-1 | 75 | 08/09/2023 |
| 1.19.1 | 76 | 08/14/2023 |
| 1.19.0 | 81 | 08/10/2023 |
| 1.18.1 | 79 | 08/04/2023 |
| 1.18.0 | 79 | 08/09/2023 |
| 1.17.3 | 82 | 08/07/2023 |
| 1.17.2 | 76 | 08/09/2023 |
| 1.17.1 | 83 | 08/07/2023 |
| 1.17.0 | 71 | 08/19/2023 |
| 1.17.0-rc1 | 82 | 09/30/2023 |
| 1.16.1 | 77 | 08/08/2023 |
| 1.16.0 | 91 | 08/06/2023 |
| 1.15.4 | 72 | 08/07/2023 |
| 1.15.3 | 92 | 08/18/2023 |
| 1.15.2 | 79 | 08/05/2023 |
| 1.15.1 | 82 | 08/04/2023 |
| 1.15.0 | 80 | 08/06/2023 |
| 1.14.1 | 85 | 08/05/2023 |
| 1.14.0 | 66 | 08/14/2023 |
| 1.13.0 | 89 | 08/04/2023 |
| 1.13.0-next-1 | 74 | 08/04/2023 |
| 1.12.2 | 81 | 08/06/2023 |
| 1.12.1 | 88 | 08/07/2023 |
| 1.12.0 | 85 | 08/05/2023 |
| 1.12.0-alpha-7 | 72 | 08/08/2023 |
| 1.12.0-alpha-5 | 68 | 08/15/2023 |
| 1.12.0-alpha-4 | 74 | 08/05/2023 |
| 1.12.0-alpha-3 | 74 | 08/10/2023 |
| 1.12.0-alpha-2 | 72 | 08/06/2023 |
| 1.11.1-alpha-2 | 79 | 08/05/2023 |
| 1.11.1-alpha | 86 | 08/18/2023 |
| 1.11.0-alpha | 76 | 08/06/2023 |