Table of Contents

Class Message

Namespace
WebDriverBiDi.Protocol
Assembly
WebDriverBiDi.dll

Object containing data about a WebDriver BiDi message. This class is not thread-safe. Instances are created and consumed on the single message-processing loop and should not be shared across threads.

public class Message
Inheritance
Message
Derived
Inherited Members

Constructors

Message()

Initializes a new instance of the Message class.

public Message()

Properties

AdditionalData

Gets a read-only dictionary of additional properties deserialized with this message. The conversion from the raw JSON extension data is performed lazily on first access. This property is not thread-safe; however, in practice the owning Message is only accessed on the single message-processing loop, so concurrent access does not occur.

[JsonIgnore]
public ReceivedDataDictionary AdditionalData { get; }

Property Value

ReceivedDataDictionary

Type

Gets the type of message.

[JsonRequired]
[JsonPropertyName("type")]
[JsonInclude]
public string Type { get; }

Property Value

string