Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs(dotnet): Video and Worker examples (#6581)
Anže Vodovnik885285bea7e4
diff --git a/docs/src/api/class-video.md b/docs/src/api/class-video.mdindex 7b4de9ac82..135d0062d1 100644--- a/docs/src/api/class-video.md+++ b/docs/src/api/class-video.md@@ -18,6 +18,10 @@ print(await page.video.path())print(page.video.path())```+```csharp+Console.WriteLine(await page.Video.GetPathAsync());+```+## async method: Video.deleteDeletes the video file. Will wait for the video to finish if necessary.diff --git a/docs/src/api/class-worker.md b/docs/src/api/class-worker.mdindex f95852edf3..7824c74af5 100644--- a/docs/src/api/class-worker.md+++ b/docs/src/api/class-worker.md@@ -38,14 +38,14 @@ for worker in page.workers:``````csharp-Page.Worker += (_, worker) =>+page.Worker += (_, worker) =>{Console.WriteLine($"Worker created: {worker.Url}");worker.Close += (_, _) => Console.WriteLine($"Worker closed {worker.Url}");};Console.WriteLine("Current Workers:");-foreach(var pageWorker in Page.Workers)+foreach(var pageWorker in page.Workers){Console.WriteLine($"\tWorker: {pageWorker.Url}");}