mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs(dotnet): fix code snippet typos (#7736)
This commit is contained in:
parent
c84c5c8c9b
commit
b56e2b713a
@ -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"
|
||||
});
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user