.captureBrowserConsoleLogs() Suggest edits
Since: 2.2.0Listen to the console
events (ex. console.log
event) and register callback to process the same.
Usage
.captureBrowserConsoleLogs(onEventCallback)
Example
Or run locally with:
Parameters
Name | Type | description |
---|---|---|
onEventCallback |
function | Callback function called whenever a new console event is captured. |