Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore(dotnet): page.opener sync (#6579)

Darío Kondratiuk8845484ac70b
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`.