Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class ConsoleMessage
import { ConsoleMessage } from "https://deno.land/x/pptr@1.2.0/src/ConsoleMessage.ts";

ConsoleMessage objects are dispatched by page via the 'console' event.

Constructors

new
ConsoleMessage(
text: string,
args: JSHandle[],
stackTraceLocations: ConsoleMessageLocation[],
)

Properties

private
_args: JSHandle[]
private
_stackTraceLocations: ConsoleMessageLocation[]
private
_text: string
private
_type: ConsoleMessageType