docs: fix C# and python snippets (#30232)

This commit is contained in:
Yury Semikhatsky 2024-04-04 13:49:15 -07:00 committed by GitHub
parent 996b1ce390
commit 7ad255301f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -91,9 +91,9 @@ background_page = context.wait_for_event("backgroundpage")
```
```csharp
context.BackgroundPage += (backgroundPage) =>
context.BackgroundPage += (_, backgroundPage) =>
{
Console.WriteLine(backgroundPage.Url());
Console.WriteLine(backgroundPage.Url);
};
```