Microsoft.Playwright.NUnit
1.58.0
Prefix Reserved
dotnet add package Microsoft.Playwright.NUnit --version 1.58.0
NuGet\Install-Package Microsoft.Playwright.NUnit -Version 1.58.0
<PackageReference Include="Microsoft.Playwright.NUnit" Version="1.58.0" />
<PackageVersion Include="Microsoft.Playwright.NUnit" Version="1.58.0" />
<PackageReference Include="Microsoft.Playwright.NUnit" />
paket add Microsoft.Playwright.NUnit --version 1.58.0
#r "nuget: Microsoft.Playwright.NUnit, 1.58.0"
#:package Microsoft.Playwright.NUnit@1.58.0
#addin nuget:?package=Microsoft.Playwright.NUnit&version=1.58.0
#tool nuget:?package=Microsoft.Playwright.NUnit&version=1.58.0
Playwright for .NET 🎭
| Linux | macOS | Windows | |
|---|---|---|---|
| Chromium 145.0.7632.6 | ✅ | ✅ | ✅ |
| WebKit 26.0 | ✅ | ✅ | ✅ |
| Firefox 146.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.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.1 is compatible. |
| .NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETCoreApp 3.1
- Microsoft.NET.Test.Sdk (>= 17.8.0)
- Microsoft.Playwright (>= 1.58.0)
- Microsoft.Playwright.TestAdapter (>= 1.58.0)
- NUnit (>= 3.13.2)
- NUnit3TestAdapter (>= 4.0.0)
-
.NETFramework 4.6.2
- Microsoft.NET.Test.Sdk (>= 17.8.0)
- Microsoft.Playwright (>= 1.58.0)
- Microsoft.Playwright.TestAdapter (>= 1.58.0)
- NUnit (>= 3.13.2)
- NUnit3TestAdapter (>= 4.0.0)
NuGet packages (12)
Showing the top 5 NuGet packages that depend on Microsoft.Playwright.NUnit:
| Package | Downloads |
|---|---|
|
Ben.SemanticKernel
A simple Semantic Kernel library for .NET applications |
|
|
Ossa.TestFramework.UIIntegration
Package Description |
|
|
CloudBeat.Kit.Playwright
Package Description |
|
|
PlaywrightFramework
Framework demo to use methods in Playwright |
|
|
QE.UITesterControlUnit
UI Test Automation Framework |
GitHub repositories (17)
Showing the top 17 popular GitHub repositories that depend on Microsoft.Playwright.NUnit:
| Repository | Stars |
|---|---|
|
Megabit/Blazorise
Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Tailwind, Bulma, AntDesign, and Material.
|
|
|
dotnet/sdk
Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
|
|
|
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK.
|
|
|
mspnp/AzureNamingTool
The Azure Naming Tool is a .NET 10 Blazor application with a RESTful API for generating and validating Azure resource names. Features include SQLite database support, drag-and-drop configuration, Azure tenant validation, and API V2 with bulk operations.
|
|
|
EdCharbeneau/BlazorSize
Blazor browser size interop for matchMedia and browser window size at runtime.
|
|
|
Nfactor26/pixel-identity
Bootstrapper for https://github.com/openiddict/openiddict-core and Asp.net Identity with a blazor based UI .
|
|
|
KristofferStrube/Blazor.WebAudio
A Blazor wrapper for the Web Audio browser API.
|
|
|
DavidVollmers/Ignis
The Blazor framework for building modern web applications.
|
|
|
jsakamoto/Toolbelt.Blazor.HeadElement
Head element support (change the document title, "meta" elements such as OGP, and "link" elements) for Blazor apps.
|
|
|
hlaueriksson/GEmojiSharp
:octocat: GitHub Emoji for C#, dotnet and beyond
|
|
|
Letterbook/Letterbook
Sustainable federated social media built for open correspondence
|
|
|
CnGal/CnGalWebSite
CnGal是一个非营利性的,立志于收集整理国内制作组创作的中文Galgame/AVG的介绍、攻略、评测、感想等内容的资料性质的网站。
|
|
|
jsakamoto/Toolbelt.Blazor.HotKeys2
This is a class library that provides configuration-centric keyboard shortcuts for your Blazor apps.
|
|
|
matt-bentley/CleanArchitecture
An opinionated ASP.NET Core solution setup for creating web applications using Clean Architecture and Domain-Driven Design principles.
|
|
|
jsakamoto/Toolbelt.Blazor.HotKeys
This is a class library that provides configuration-centric keyboard shortcuts for your Blazor WebAssembly (client-side) apps.
|
|
|
ivaano/NsxLibraryManager
Another Lib Manager for NSP NSZ files
|
|
|
Ginger-Automation/Ginger
Ginger Automation IDE
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.58.0 | 86,404 | 2/2/2026 |
| 1.57.0 | 831,845 | 12/4/2025 |
| 1.56.0 | 457,004 | 11/10/2025 |
| 1.55.0 | 393,702 | 9/4/2025 |
| 1.55.0-beta-4 | 1,024 | 8/13/2025 |
| 1.55.0-beta-2 | 207 | 8/12/2025 |
| 1.55.0-beta-1 | 207 | 8/12/2025 |
| 1.54.0 | 332,271 | 7/22/2025 |
| 1.53.0 | 162,883 | 6/25/2025 |
| 1.52.0 | 493,911 | 4/30/2025 |
| 1.51.0 | 1,925,688 | 3/18/2025 |
| 1.50.0 | 483,816 | 2/3/2025 |
| 1.50.0-beta-2 | 5,457 | 11/25/2024 |
| 1.50.0-beta-1 | 229 | 11/25/2024 |
| 1.49.0 | 725,032 | 11/21/2024 |
| 1.48.0 | 414,554 | 10/21/2024 |
| 1.47.0 | 557,179 | 9/12/2024 |
| 1.46.0 | 347,836 | 8/12/2024 |
| 1.45.1 | 362,051 | 7/23/2024 |
| 1.45.0 | 221,946 | 7/3/2024 |