Version: 1.8.0
ConsoleMessage
ConsoleMessage objects are dispatched by page via the page.on('console') event.
#
consoleMessage.args()#
consoleMessage.location()- returns: <Object>
#
consoleMessage.text()- returns: <string>
#
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'
.