Skip to content

Commit c729a7b

Browse files
committed
cherry-pick(#30232): docs: fix C# and python snippets
1 parent 7748e21 commit c729a7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/api/class-browsercontext.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ background_page = context.wait_for_event("backgroundpage")
9191
```
9292

9393
```csharp
94-
context.BackgroundPage += (backgroundPage) =>
94+
context.BackgroundPage += (_, backgroundPage) =>
9595
{
96-
Console.WriteLine(backgroundPage.Url());
96+
Console.WriteLine(backgroundPage.Url);
9797
};
9898

9999
```

0 commit comments

Comments
 (0)