Skip to main content
Go to Latest
interface Protocol.Target.ReceivedMessageFromTargetEvent
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { ReceivedMessageFromTargetEvent } = Protocol.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.