Table of Contents

Class SetVisibleSizeCommandSettings

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

Resizes the frame/viewport of the page. Note that this does not affect the frame's container (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported on Android.

public sealed class SetVisibleSizeCommandSettings : ICommand
Inheritance
SetVisibleSizeCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Height

Frame height (DIP).

[JsonPropertyName("height")]
public long Height { get; set; }

Property Value

long

Width

Frame width (DIP).

[JsonPropertyName("width")]
public long Width { get; set; }

Property Value

long