Table of Contents

Class SetContentsSizeCommandSettings

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

Set size of the browser contents resizing browser window as necessary.

public sealed class SetContentsSizeCommandSettings : ICommand
Inheritance
SetContentsSizeCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Height

The window contents height in DIP. Assumes current height if omitted. Must be specified if 'width' is omitted.

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

Property Value

long?

Width

The window contents width in DIP. Assumes current width if omitted. Must be specified if 'height' is omitted.

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

Property Value

long?

WindowId

Browser window id.

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

Property Value

long