Table of Contents

Class SetClientWindowStateCommandParameters

Namespace
WebDriverBiDi.Browser
Assembly
WebDriverBiDi.dll

Provides parameters for the browser.setClientWindowState command.

public class SetClientWindowStateCommandParameters : CommandParameters<SetClientWindowStateCommandResult>
Inheritance
SetClientWindowStateCommandParameters
Inherited Members

Constructors

SetClientWindowStateCommandParameters(string)

Initializes a new instance of the SetClientWindowStateCommandParameters class.

public SetClientWindowStateCommandParameters(string clientWindowId)

Parameters

clientWindowId string

The ID of the client window for which to set the state.

Properties

ClientWindowId

Gets or sets the ID of the client window for which to set the state.

[JsonPropertyName("clientWindow")]
public string ClientWindowId { get; set; }

Property Value

string

Height

Gets or sets the value in CSS pixels of the height of the client window. This parameter is ignored if the State property is set to a value other than Normal.

[JsonPropertyName("height")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ulong? Height { get; set; }

Property Value

ulong?

MethodName

Gets the method name of the command.

[JsonIgnore]
public override string MethodName { get; }

Property Value

string

State

Gets or sets a value indicating the state of the client window.

[JsonPropertyName("state")]
public ClientWindowState State { get; set; }

Property Value

ClientWindowState

Width

Gets or sets the value in CSS pixels of the width of the client window. This parameter is ignored if the State property is set to a value other than Normal.

[JsonPropertyName("width")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ulong? Width { get; set; }

Property Value

ulong?

X

Gets or sets the value in CSS pixels of the left edge of the client window. This parameter is ignored if the State property is set to a value other than Normal.

[JsonPropertyName("x")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public long? X { get; set; }

Property Value

long?

Y

Gets or sets the value in CSS pixels of the top edge of the client window. This parameter is ignored if the State property is set to a value other than Normal.

[JsonPropertyName("y")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public long? Y { get; set; }

Property Value

long?