A console.* call or an uncaught error from the page under test.
const log: BrowserLog = { type: 'error', text: 'TypeError: x is not a function', args: [] }; log.type; // 'error' — 'pageerror' marks an uncaught exception rather than a console call
A console.* call or an uncaught error from the page under test.
const log: BrowserLog = { type: 'error', text: 'TypeError: x is not a function', args: [] }; log.type; // 'error' — 'pageerror' marks an uncaught exception rather than a console call
import { type BrowserLog } from "lib/api/index.ts";