# playwright-dotnet **Repository Path**: jiyangcd/playwright-dotnet ## Basic Information - **Project Name**: playwright-dotnet - **Description**: https://github.com/microsoft/playwright-dotnet.git - **Primary Language**: C# - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-07-21 - **Last Updated**: 2024-07-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Playwright for .NET 🎭 [![NuGet version](https://img.shields.io/nuget/v/Microsoft.Playwright?color=%2345ba4b)](https://www.nuget.org/packages/Microsoft.Playwright) [![Join Discord](https://img.shields.io/badge/join-discord-infomational)](https://aka.ms/playwright/discord) | | Linux | macOS | Windows | | :--- | :---: | :---: | :---: | | Chromium 127.0.6533.17 | ✅ | ✅ | ✅ | | WebKit 17.4 | ✅ | ✅ | ✅ | | Firefox 127.0 | ✅ | ✅ | ✅ | Playwright for .NET is the official language port of [Playwright](https://playwright.dev), the library to automate [Chromium](https://www.chromium.org/Home), [Firefox](https://www.mozilla.org/en-US/firefox/new/) and [WebKit](https://webkit.org/) 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](https://playwright.dev/dotnet/docs/intro) ## API Reference [https://playwright.dev/dotnet/docs/api/class-playwright](https://playwright.dev/dotnet/docs/api/class-playwright) ```cs 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](https://playwright.dev) is also available in - [TypeScript](https://playwright.dev/docs/intro), - [Python](https://playwright.dev/python/docs/intro), - [Java](https://playwright.dev/java/docs/intro).