From 7933cfc7df56cc42c232bb7fa45bb1bfcc8476c0 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Wed, 10 Feb 2021 12:54:44 -0800 Subject: [PATCH] docs: inline Location methods into ConsoleMessage in java (#5402) --- docs/src/api/class-consolemessage.md | 7 +++++++ 1 file changed, 7 insertions(+) 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]>