Skip to content

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

docs: pageErrors should return strings in Java and C# (#37703)

Yury Semikhatsky2c95eb1e60e2
diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.md
index 82965993c3..c45b55a32f 100644
--- a/docs/src/api/class-page.md
+++ b/docs/src/api/class-page.md
@@ -2687,10 +2687,18 @@ Returns up to (currently) 200 last console messages from this page. See [`event:
## async method: Page.pageErrors
* since: v1.56
+* langs: js, python
- returns: <[Array]<[Error]>>
Returns up to (currently) 200 last page errors from this page. See [`event: Page.pageError`] for more details.
+## async method: Page.pageErrors
+* since: v1.56
+* langs: csharp, java
+- returns: <[Array]<[string]>>
+
+Returns up to (currently) 200 last page errors from this page. See [`event: Page.pageError`] for more details.
+
## method: Page.locator
* since: v1.14