MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / constructor

Method constructor

javascript/selenium-webdriver/bidi/scriptTypes.js:30–34  ·  view source on GitHub ↗

* Creates a new Message instance. * @param {string} channel - The channel through which the message is received. * @param {RemoteValue} data - The data contained in the message. * @param {Source} source - The source of the message.

(channel, data, source)

Source from the content-addressed store, hash-verified

28 * @param {Source} source - The source of the message.
29 */
30 constructor(channel, data, source) {
31 this._channel = channel
32 this._data = data
33 this._source = source
34 }
35
36 /**
37 * Gets the channel through which the message is received.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected