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
clientWindowIdstringThe 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
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
MethodName
Gets the method name of the command.
[JsonIgnore]
public override string MethodName { get; }
Property Value
State
Gets or sets a value indicating the state of the client window.
[JsonPropertyName("state")]
public ClientWindowState State { get; set; }
Property Value
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
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?