Message#

Represents a message received through a channel. Described in https://w3c.github.io/webdriver-bidi/#event-script-message.

Constructor#

new Message(channel, data, source)#

Creates a new Message instance.

Parameters:
NameTypeDescription
channelstring

The channel through which the message is received.

dataRemoteValue

The data contained in the message.

sourceSource

The source of the message.

Members#

channel#

Gets the channel through which the message is received.

data#

Gets the data contained in the message.

source#

Gets the source of the message.