Table of Contents

Class ReceivedMessageFromTargetEventArgs

Namespace
OpenQA.Selenium.DevTools.V146.Target
Assembly
Selenium.WebDriver.dll

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

public sealed class ReceivedMessageFromTargetEventArgs : EventArgs
Inheritance
ReceivedMessageFromTargetEventArgs
Inherited Members

Properties

Message

Gets or sets the message

[JsonPropertyName("message")]
public string Message { get; set; }

Property Value

string

SessionId

Identifier of a session which sends a message.

[JsonPropertyName("sessionId")]
public string SessionId { get; set; }

Property Value

string

TargetId

Deprecated.

[JsonPropertyName("targetId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? TargetId { get; set; }

Property Value

string