Skip to content

Commit

Permalink
docs: inline Location methods into ConsoleMessage in java (#5402)
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s committed Feb 10, 2021
1 parent b4b14ea commit 7933cfc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/src/api/class-consolemessage.md
Expand Up @@ -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]>

Expand Down

0 comments on commit 7933cfc

Please sign in to comment.