Skip to content

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

docs: inline Location methods into ConsoleMessage in java (#5402)

Yury Semikhatsky7933cfc7df56
diff --git a/docs/src/api/class-consolemessage.md b/docs/src/api/class-consolemessage.md
index d5532ca9dd..463d39b516 100644
--- a/docs/src/api/class-consolemessage.md
+++ b/docs/src/api/class-consolemessage.md
@@ -6,11 +6,18 @@
- returns: <[Array]<[JSHandle]>>
## method: ConsoleMessage.location
+* langs: js, python
- returns: <[Object]>
- `url` <[string]> URL of the resource.
- `lineNumber` <[int]> 0-based line number in the resource.
- `columnNumber` <[int]> 0-based column number in the resource.
+## method: ConsoleMessage.location
+* langs: csharp, java
+- returns: <[string]>
+
+URL of the resource followed by 0-based line and column numbers in the resource formatted as `URL:line:column`.
+
## method: ConsoleMessage.text
- returns: <[string]>