Table of Contents

Class SetWindowBoundsCommandSettings

Namespace
OpenQA.Selenium.DevTools.V148.Browser
Assembly
Selenium.WebDriver.dll

Set position and/or size of the browser window.

public sealed class SetWindowBoundsCommandSettings : ICommand
Inheritance
SetWindowBoundsCommandSettings
Implements
Inherited Members

Properties

Bounds

New window bounds. The 'minimized', 'maximized' and 'fullscreen' states cannot be combined with 'left', 'top', 'width' or 'height'. Leaves unspecified fields unchanged.

[JsonPropertyName("bounds")]
public Bounds Bounds { get; set; }

Property Value

Bounds

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

WindowId

Browser window id.

[JsonPropertyName("windowId")]
public long WindowId { get; set; }

Property Value

long