← Back to Runtime domain

Runtime.discardConsoleEntries

Discards collected exceptions and console API calls.

Domain: Runtime stable

Example Request

{
  "id": 1,
  "method": "Runtime.discardConsoleEntries"
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Runtime.discardConsoleEntries');
console.log(result);