From 7ad255301f500c323030c2a67415a013e2cf0c35 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Thu, 4 Apr 2024 13:49:15 -0700 Subject: [PATCH] docs: fix C# and python snippets (#30232) --- docs/src/api/class-browsercontext.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/api/class-browsercontext.md b/docs/src/api/class-browsercontext.md index 8dde2c031b..511f3db10c 100644 --- a/docs/src/api/class-browsercontext.md +++ b/docs/src/api/class-browsercontext.md @@ -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); }; ```