From 8845484ac70bf543137bb66aa37d830c050bbb27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Kondratiuk?= Date: Fri, 14 May 2021 11:49:37 -0300 Subject: [PATCH] chore(dotnet): page.opener sync (#6579) --- docs/src/api/class-page.md | 1 + docs/src/api/csharp.md | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.md index 205a7eef83..5051633c08 100644 --- a/docs/src/api/class-page.md +++ b/docs/src/api/class-page.md @@ -1994,6 +1994,7 @@ The page's main frame. Page is guaranteed to have a main frame which persists du - type: <[Mouse]> ## async method: Page.opener +* langs: python, java, js - returns: <[null]|[Page]> Returns the opener for popup pages and `null` for others. If the opener has been closed already the returns `null`. diff --git a/docs/src/api/csharp.md b/docs/src/api/csharp.md index 0a0b9e7c8f..96f986ab25 100644 --- a/docs/src/api/csharp.md +++ b/docs/src/api/csharp.md @@ -27,3 +27,9 @@ Gets the [System.Net.HttpStatusCode] code of the response. ### param: Page.selectOption.values = %%-csharp-select-options-values-%% ### param: Page.setInputFiles.files = %%-csharp-input-files-%% + +## method: Page.opener +* langs: csharp +- returns: <[null]|[Page]> + +Returns the opener for popup pages and `null` for others. If the opener has been closed already the returns `null`.