Skip to main content
Version: 1.15

ConsoleMessage

ConsoleMessage objects are dispatched by page via the event Page.Console event.

ConsoleMessage.Args#

List of arguments passed to a console function call. See also event Page.Console.

ConsoleMessage.Location#

URL of the resource followed by 0-based line and column numbers in the resource formatted as URL:line:column.

ConsoleMessage.Text#

The text of the console message.

ConsoleMessage.Type#

One of the following values: 'log', 'debug', 'info', 'error', 'warning', 'dir', 'dirxml', 'table', 'trace', 'clear', 'startGroup', 'startGroupCollapsed', 'endGroup', 'assert', 'profile', 'profileEnd', 'count', 'timeEnd'.