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

This commit is contained in:
Vildan Softic 2021-07-20 11:08:30 +02:00 committed by GitHub
parent c84c5c8c9b
commit b56e2b713a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,8 +77,8 @@ await using var context = await browser.NewContextAsync();
// Start tracing before creating / navigating a page. // Start tracing before creating / navigating a page.
await context.Tracing.StartAsync(new TracingStartOptions await context.Tracing.StartAsync(new TracingStartOptions
{ {
Screenshots: true, Screenshots = true,
Snapshots: true Snapshots = true
}); });
var page = context.NewPageAsync(); var page = context.NewPageAsync();
@ -87,7 +87,7 @@ await page.GotoAsync("https://playwright.dev");
// Stop tracing and export it into a zip archive. // Stop tracing and export it into a zip archive.
await context.Tracing.StopAsync(new TracingStopOptions await context.Tracing.StopAsync(new TracingStopOptions
{ {
Path: "trace.zip" Path = "trace.zip"
}); });
``` ```