![]() |
VOOZH | about |
dotnet add package Microsoft.Playwright --version 1.60.0
NuGet\Install-Package Microsoft.Playwright -Version 1.60.0
<PackageReference Include="Microsoft.Playwright" Version="1.60.0" />
<PackageVersion Include="Microsoft.Playwright" Version="1.60.0" />Directory.Packages.props
<PackageReference Include="Microsoft.Playwright" />Project file
paket add Microsoft.Playwright --version 1.60.0
#r "nuget: Microsoft.Playwright, 1.60.0"
#:package Microsoft.Playwright@1.60.0
#addin nuget:?package=Microsoft.Playwright&version=1.60.0Install as a Cake Addin
#tool nuget:?package=Microsoft.Playwright&version=1.60.0Install as a Cake Tool
👁 NuGet version
👁 Join Discord
| Linux | macOS | Windows | |
|---|---|---|---|
| Chromium 148.0.7778.96 | ✅ | ✅ | ✅ |
| WebKit 26.4 | ✅ | ✅ | ✅ |
| Firefox 150.0.2 | ✅ | ✅ | ✅ |
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.
https://playwright.dev/dotnet/docs/intro
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" });
More comfortable in another programming language? Playwright is also available in
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Microsoft.Playwright:
| Package | Downloads |
|---|---|
|
Microsoft.Playwright.TestAdapter
Playwright enables reliable end-to-end testing for modern web apps. This is a utility package used by the Microsoft.Playwright.NUnit and Microsoft.Playwright.MSTest packages. |
|
|
Microsoft.Playwright.NUnit
Playwright enables reliable end-to-end testing for modern web apps. This package brings in additional helpers and fixtures to enable using it within NUnit. |
|
|
Flexygo
Create your own Professional Solutions. Flexygo allows you to immediatly build incredible Solutions for companies, professionals and individuals. For easy installation visit https://docs.flexygo.com/ |
|
|
Microsoft.Playwright.MSTest
Playwright enables reliable end-to-end testing for modern web apps. This package brings in additional helpers and fixtures to enable using it within MSTest. |
|
|
Coypu
A robust wrapper for browser automation on the .NET platform for Selenium WebDriver or Microsoft Playwright that eases automating ajax-heavy websites and reduces coupling to the HTML, CSS & JS. This package includes the Coypu 4 framework assembly, which should be referenced by your tests. Supported platforms: - .NET 6+ |
Showing the top 20 popular GitHub repositories that depend on Microsoft.Playwright:
| Repository | Stars |
|---|---|
|
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
|
|
|
jasontaylordev/CleanArchitecture
Clean Architecture Solution Template for ASP.NET Core
|
|
|
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
|
|
|
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
|
|
|
btcpayserver/btcpayserver
Accept Bitcoin payments. Free, open-source & self-hosted, Bitcoin payment processor.
|
|
|
microsoft/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
|
|
|
domaindrivendev/Swashbuckle.AspNetCore
Swagger tools for documenting API's built on ASP.NET Core
|
|
|
mono/SkiaSharp
SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
|
|
|
dotnet/docfx
Static site generator for .NET API documentation.
|
|
|
testcontainers/testcontainers-dotnet
A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
|
|
|
rnwood/smtp4dev
smtp4dev - the fake smtp email server for development and testing
|
|
|
thomhurst/TUnit
A modern, fast and flexible .NET testing framework
|
|
|
dotnet/interactive
.NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
|
|
|
SciSharp/BotSharp
AI Multi-Agent Framework in .NET
|
|
|
phongnguyend/Practical.CleanArchitecture
Full-stack .Net 10 Clean Architecture (Microservices, Modular Monolith, Monolith), Blazor, Angular 21, React 19, Vue 3.5, BFF with YARP, NextJs 16, Domain-Driven Design, CQRS, SOLID, Asp.Net Core Identity Custom Storage, OpenID Connect, EF Core, OpenTelemetry, SignalR, Background Services, Health Checks, Rate Limiting, Clouds (Azure, AWS, GCP), ...
|
|
|
FufuLauncher/FufuLauncher
A third-party launcher for Genshin Impact that supports game injection, automatic check-in, and some useful small features.
|
|
|
Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2
An ASP.NET Core Web App which lets sign-in users (including in your org, many orgs, orgs + personal accounts, sovereign clouds) and call Web APIs (including Microsoft Graph)
|
|
|
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK.
|
|
|
AzureAD/microsoft-identity-web
Helps creating protected web apps and web APIs with Microsoft identity platform and Azure AD B2C
|
|
|
microsoft/dotnet-framework-docker
The repo for the official docker images for .NET Framework on Windows Server Core.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.60.0 | 464,696 | 5/21/2026 |
| 1.59.0 | 1,234,125 | 4/9/2026 |
| 1.58.0 | 2,079,869 | 2/2/2026 |
| 1.57.0 | 2,296,994 | 12/4/2025 |
| 1.56.0 | 1,499,980 | 11/10/2025 |
| 1.55.0 | 2,163,293 | 9/4/2025 |
| 1.55.0-beta-4 | 11,204 | 8/13/2025 |
| 1.55.0-beta-3 | 410 | 8/12/2025 |
| 1.55.0-beta-2 | 448 | 8/12/2025 |
| 1.55.0-beta-1 | 473 | 8/12/2025 |
| 1.54.0 | 1,614,528 | 7/22/2025 |
| 1.53.0 | 684,047 | 6/25/2025 |
| 1.52.0 | 2,132,256 | 4/30/2025 |
| 1.51.0 | 4,031,152 | 3/18/2025 |
| 1.50.0 | 2,032,225 | 2/3/2025 |
| 1.50.0-beta-2 | 94,431 | 11/25/2024 |
| 1.50.0-beta-1 | 1,410 | 11/25/2024 |
| 1.49.0 | 3,388,195 | 11/21/2024 |
| 1.48.0 | 1,881,422 | 10/21/2024 |
| 1.47.0 | 1,651,868 | 9/12/2024 |