Table of Contents

Class SetDeviceMetricsOverrideCommandSettings

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

SetDeviceMetricsOverride

public sealed class SetDeviceMetricsOverrideCommandSettings : ICommand
Inheritance
SetDeviceMetricsOverrideCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

DevicePosture

Gets or sets the devicePosture

[JsonPropertyName("devicePosture")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public DevicePosture DevicePosture { get; set; }

Property Value

DevicePosture

DeviceScaleFactor

Gets or sets the deviceScaleFactor

[JsonPropertyName("deviceScaleFactor")]
public double DeviceScaleFactor { get; set; }

Property Value

double

DisplayFeature

Gets or sets the displayFeature

[JsonPropertyName("displayFeature")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public DisplayFeature DisplayFeature { get; set; }

Property Value

DisplayFeature

DontSetVisibleSize

Gets or sets the dontSetVisibleSize

[JsonPropertyName("dontSetVisibleSize")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? DontSetVisibleSize { get; set; }

Property Value

bool?

Height

Gets or sets the height

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

Property Value

long

Mobile

Gets or sets the mobile

[JsonPropertyName("mobile")]
public bool Mobile { get; set; }

Property Value

bool

PositionX

Gets or sets the positionX

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

Property Value

long?

PositionY

Gets or sets the positionY

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

Property Value

long?

Scale

Gets or sets the scale

[JsonPropertyName("scale")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? Scale { get; set; }

Property Value

double?

ScreenHeight

Gets or sets the screenHeight

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

Property Value

long?

ScreenOrientation

Gets or sets the screenOrientation

[JsonPropertyName("screenOrientation")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ScreenOrientation ScreenOrientation { get; set; }

Property Value

ScreenOrientation

ScreenWidth

Gets or sets the screenWidth

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

Property Value

long?

Viewport

Gets or sets the viewport

[JsonPropertyName("viewport")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Viewport Viewport { get; set; }

Property Value

Viewport

Width

Gets or sets the width

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

Property Value

long