Table of Contents

Class ChannelProperties

Namespace
WebDriverBiDi.Script
Assembly
WebDriverBiDi.dll

Properties of a channel used to pass information back from the browser to the client. A channel reaches the browser either in a preload script or as a script.callFunction argument.

public class ChannelProperties
Inheritance
ChannelProperties
Inherited Members

Constructors

ChannelProperties(string)

Initializes a new instance of the ChannelProperties class.

public ChannelProperties(string channelId)

Parameters

channelId string

The ID of the channel.

Properties

ChannelId

Gets or sets the ID of the channel.

[JsonPropertyName("channel")]
public string ChannelId { get; set; }

Property Value

string

Ownership

Gets or sets the ownership for the channel.

[JsonPropertyName("ownership")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ResultOwnership? Ownership { get; set; }

Property Value

ResultOwnership?

SerializationOptions

Gets or sets the serialization options for the channel.

[JsonPropertyName("serializationOptions")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public SerializationOptions? SerializationOptions { get; set; }

Property Value

SerializationOptions