Table of Contents

Class SendMessageToTargetCommandSettings

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

Sends protocol message over session with given id. Consider using flat mode instead; see commands attachToTarget, setAutoAttach, and crbug.com/991325.

public sealed class SendMessageToTargetCommandSettings : ICommand
Inheritance
SendMessageToTargetCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Message

Gets or sets the message

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

Property Value

string

SessionId

Identifier of the session.

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

Property Value

string

TargetId

Deprecated.

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

Property Value

string