dotnet-playwright

Automate browser testing for .NET applications using Playwright.

71|10|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/wshaddix/dotnet-skills --skill dotnet-playwright-wshaddix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-playwright
Source: https://github.com/wshaddix/dotnet-skills/tree/main/skills/dotnet-playwright
Command: npx skills add https://github.com/wshaddix/dotnet-skills --skill dotnet-playwright-wshaddix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of automating browser interactions and end-to-end testing for .NET applications, reducing manual testing effort and improving application quality.

Core Features & Use Cases

  • End-to-End Testing: Write robust, cross-browser E2E tests for your .NET web applications.
  • Browser Automation: Control browsers programmatically for tasks like form filling, navigation, and data scraping.
  • CI/CD Integration: Optimize test execution in continuous integration pipelines with browser caching and trace viewing.
  • Use Case: Automatically test a new user registration flow in your ASP.NET Core application across Chrome, Firefox, and WebKit to ensure a consistent user experience.

Quick Start

Use the dotnet-playwright skill to create a basic xUnit test for navigating to a given URL and asserting its title.

Frequently Asked Questions about dotnet-playwright

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate browser testing for a .NET web application?

You can automate browser testing for a .NET web application by using Playwright to control browser lifecycles and page interactions. This Skill streamlines cross-browser E2E testing to reduce manual effort.

Can I run cross-browser E2E tests across Chromium, Firefox, and WebKit in .NET?

Yes, you can run cross-browser E2E tests across Chromium, Firefox, and WebKit in .NET. The Skill supports Playwright 1.40+ and .NET 8.0+ to validate user flows across multiple browser engines.

Does this Playwright .NET setup support CI/CD pipelines?

Yes, this Playwright .NET setup supports CI/CD pipelines by optimizing test execution with browser caching. It also includes a trace viewer for debugging failed tests in continuous integration environments.

What .NET version do I need to use Playwright for E2E testing?

You need .NET 8.0 or later to use Playwright for E2E testing. The Skill requires a .NET 8.0+ baseline along with Playwright 1.40+ to scaffold and execute browser automation tests.

How do I scaffold test code for a browser automation flow?

You can scaffold test code for a browser automation flow by using the Playwright codegen tool. This feature generates test scaffolding for navigating to URLs and asserting page interactions.