Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Target.ReceivedMessageFromTargetEvent
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { ReceivedMessageFromTargetEvent } = default.Target;

Notifies about a new protocol message received from the session (as reported in attachedToTarget event).

Properties

sessionId: SessionID

Identifier of a session which sends a message.

message: string
optional
targetId: TargetID

Deprecated.