puppeteer/new-docs/puppeteer.protocol.target.receivedmessagefromtargetevent.md
2020-07-13 14:01:35 +01:00

1.1 KiB

Home > puppeteer > Protocol > Target > ReceivedMessageFromTargetEvent

Protocol.Target.ReceivedMessageFromTargetEvent interface

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

Signature:

export interface ReceivedMessageFromTargetEvent 

Properties

Property Type Description
message string
sessionId SessionID Identifier of a session which sends a message.
targetId TargetID Deprecated.