From c80e9fa58a0ecdd7ea1879d59d21c7a1ad656508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C5=BEe=20Vodovnik?= Date: Thu, 20 May 2021 04:53:12 +0200 Subject: [PATCH] docs(dotnet): guides (#6639) --- docs/src/api/class-browsercontext.md | 2 +- docs/src/api/class-elementhandle.md | 2 +- docs/src/api/class-page.md | 2 +- docs/src/core-concepts.md | 202 +++++++++++++++++++++++++++ docs/src/debug.md | 13 ++ docs/src/downloads.md | 14 ++ docs/src/emulation.md | 78 ++++++++++- 7 files changed, 309 insertions(+), 4 deletions(-) diff --git a/docs/src/api/class-browsercontext.md b/docs/src/api/class-browsercontext.md index ab62a76954..303738d456 100644 --- a/docs/src/api/class-browsercontext.md +++ b/docs/src/api/class-browsercontext.md @@ -583,7 +583,7 @@ var result = new TaskCompletionSource(); var page = await Context.NewPageAsync(); await Context.ExposeBindingAsync("clicked", async (BindingSource _, IJSHandle t) => { - return result.TrySetResult(await t.AsElement.TextContentAsync()); + return result.TrySetResult(await t.AsElement().TextContentAsync()); }); await page.SetContentAsync("