cherry-pick(#30232): docs: fix C# and python snippets
This commit is contained in:
parent
7748e219a1
commit
c729a7b86d
|
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue