Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>ConsoleMessage

Headless Chrome Deno API
Latest
class ConsoleMessage
Re-export
import { ConsoleMessage } from "https://deno.land/x/pptr@1.2.0/mod.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