docs: fix C# snippet

This commit is contained in:
Yury Semikhatsky 2024-04-03 15:42:57 -07:00
parent 8ee286b366
commit 27ed3ac3ac

View file

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