Get console message from webContents


#1

How to get console-message from a webContents?
Just like the event called ‘console-message’ in webview-tag.