Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: fix broken .NET intro example (#15881)

Max Schmitt92d65ab3e746
diff --git a/docs/src/intro-csharp.md b/docs/src/intro-csharp.md
index 8b8e0af744..ef5ed593db 100644
--- a/docs/src/intro-csharp.md
+++ b/docs/src/intro-csharp.md
@@ -85,6 +85,7 @@ Edit the `UnitTest1.cs` file with the code below to create an example end-to-end
<TabItem value="nunit">
```csharp
+using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.Playwright.NUnit;
using NUnit.Framework;
@@ -121,6 +122,7 @@ public class Tests : PageTest
<TabItem value="mstest">
```csharp
+using System.Text.RegularExpressions;
using Microsoft.Playwright.MSTest;
namespace PlaywrightTests;