[ConsoleMessage] objects are dispatched by page via the [event: Page.console
] event.
- returns: <[Array]<[JSHandle]>>
- 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.
- 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
.
- returns: <[string]>
- returns: <[string]>
One of the following values: 'log'
, 'debug'
, 'info'
, 'error'
, 'warning'
, 'dir'
, 'dirxml'
, 'table'
,
'trace'
, 'clear'
, 'startGroup'
, 'startGroupCollapsed'
, 'endGroup'
, 'assert'
, 'profile'
, 'profileEnd'
,
'count'
, 'timeEnd'
.