984 B
984 B
class: ConsoleMessage
[ConsoleMessage] objects are dispatched by page via the [event: Page.console] event.
method: ConsoleMessage.args
- 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]>
method: ConsoleMessage.type
- 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'.