cherry-pick(#30232): docs: fix C# and python snippets

This commit is contained in:
Max Schmitt 2024-04-09 09:09:32 +02:00
parent 7748e219a1
commit c729a7b86d

View file

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