Skip to content

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

docs(dotnet): fix code snippet typos (#7736)

Vildan Softicb56e2b713a6e
diff --git a/docs/src/trace-viewer.md b/docs/src/trace-viewer.md
index 86b56b2f60..e0d5d9d0ec 100644
--- a/docs/src/trace-viewer.md
+++ b/docs/src/trace-viewer.md
@@ -77,8 +77,8 @@ await using var context = await browser.NewContextAsync();
// Start tracing before creating / navigating a page.
await context.Tracing.StartAsync(new TracingStartOptions
{
- Screenshots: true,
- Snapshots: true
+ Screenshots = true,
+ Snapshots = true
});
var page = context.NewPageAsync();
@@ -87,7 +87,7 @@ await page.GotoAsync("https://playwright.dev");
// Stop tracing and export it into a zip archive.
await context.Tracing.StopAsync(new TracingStopOptions
{
- Path: "trace.zip"
+ Path = "trace.zip"
});
```