Microsoft.Playwright 1.58.0

Playwright for .NET 🎭

NuGet version Join Discord

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

Showing the top 20 packages that depend on Microsoft.Playwright.

Packages Downloads
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.
2
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.
2
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.
1
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.
1

Version Downloads Last updated
1.58.0 1 02/24/2026
1.57.0 2 02/22/2026
1.56.0 8 02/18/2026
1.55.0 0 09/04/2025
1.55.0-beta-4 0 08/13/2025
1.55.0-beta-3 0 08/12/2025
1.55.0-beta-2 0 08/12/2025
1.55.0-beta-1 0 08/12/2025
1.54.0 0 07/22/2025
1.53.0 0 06/25/2025
1.52.0 0 04/30/2025
1.51.0 0 03/18/2025
1.50.0 0 02/03/2025
1.50.0-beta-2 0 11/25/2024
1.50.0-beta-1 0 11/25/2024
1.49.0 0 11/21/2024
1.48.0 0 10/21/2024
1.47.0 0 09/12/2024
1.46.0 0 08/12/2024
1.45.1 0 07/23/2024
1.45.0 0 07/03/2024
1.44.0 0 05/17/2024
1.43.0 0 04/09/2024
1.42.0 0 03/07/2024
1.42.0-beta-3 0 02/13/2024
1.42.0-beta-2 0 02/08/2024
1.42.0-beta-1 0 02/07/2024
1.41.2 0 01/24/2024
1.41.1 0 01/18/2024
1.41.0 0 01/17/2024
1.40.0 0 11/21/2023
1.39.0 0 10/16/2023
1.38.0 0 09/19/2023
1.37.1 0 08/16/2023
1.37.0 0 08/14/2023
1.36.0 0 07/14/2023
1.36.0-beta-1 0 06/29/2023
1.35.0 0 06/13/2023
1.34.0 0 05/26/2023
1.33.0 0 05/03/2023
1.33.0-beta-1 0 05/04/2023
1.32.0 0 03/27/2023
1.31.1 0 02/27/2023
1.31.0 0 02/21/2023
1.31.0-beta-1 0 01/27/2023
1.30.0 0 01/25/2023
1.29.0 0 01/04/2023
1.28.0 0 11/16/2022
1.27.2 0 10/27/2022
1.27.1 0 10/12/2022
1.27.0 0 10/08/2022
1.26.0 0 09/20/2022
1.25.0 0 08/15/2022
1.25.0-next-2 0 08/22/2022
1.25.0-next-1 0 08/12/2022
1.24.1 0 07/28/2022
1.24.0 0 07/22/2022
1.23.0 0 07/01/2022
1.23.0-next-4 0 07/18/2022
1.23.0-next-3 0 07/13/2022
1.23.0-next-2 0 07/13/2022
1.23.0-next-1 0 06/30/2022
1.22.0 0 05/13/2022
1.21.0 0 04/13/2022
1.20.2 0 03/23/2022
1.20.1 0 03/16/2022
1.20.0 0 03/15/2022
1.20.0-next-1 0 03/02/2022
1.19.1 0 02/25/2022
1.19.0 0 02/16/2022
1.18.1 0 02/01/2022
1.18.0 0 01/20/2022
1.17.3 0 12/15/2021
1.17.2 0 12/03/2021
1.17.1 0 11/30/2021
1.17.0 0 11/19/2021
1.17.0-rc1 0 11/19/2021
1.16.1 0 10/29/2021
1.16.0 0 10/21/2021
1.15.4 0 10/05/2021
1.15.3 0 10/03/2021
1.15.2 0 10/01/2021
1.15.1 0 09/30/2021
1.15.0 0 09/28/2021
1.14.1 0 08/24/2021
1.14.0 0 08/14/2021
1.13.0 0 07/21/2021
1.13.0-next-1 0 06/16/2021
1.12.2 0 06/14/2021
1.12.1 0 06/09/2021
1.12.0 0 06/09/2021
1.12.0-alpha-7 0 06/07/2021
1.12.0-alpha-5 0 06/06/2021
1.12.0-alpha-4 0 06/05/2021
1.12.0-alpha-3 0 06/05/2021
1.12.0-alpha-2 0 06/05/2021
1.11.1-alpha-2 0 05/27/2021
1.11.1-alpha 0 05/21/2021
1.11.0-alpha 0 05/21/2021