Skip to content
Projetos

microsoft/playwright-dotnet

Ver no GitHub

Sobre

Versão para .NET da biblioteca Playwright para testes e automação.

Ferramentas de desenvolvimento

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
+3
em 7 dias
+3
em 15 dias
+5
em 1 mês
+11

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Playwright for .NET 🎭

NuGet version Join Discord

Linux macOS Windows
Chromium 159.0.8154.33 ✅ ✅ ✅
WebKit 27.2 ✅ ✅ ✅
Firefox 160.0 ✅ ✅ ✅

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

Explore projetos relacionados

Carregando…