Table of Contents

Class SetSmallViewportHeightDifferenceOverrideCommandSettings

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

Allows overriding the difference between the small and large viewport sizes, which determine the value of the svh and lvh unit, respectively. Only supported for top-level frames.

public sealed class SetSmallViewportHeightDifferenceOverrideCommandSettings : ICommand
Inheritance
SetSmallViewportHeightDifferenceOverrideCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Difference

This will cause an element of size 100svh to be difference pixels smaller than an element of size 100lvh.

[JsonPropertyName("difference")]
public long Difference { get; set; }

Property Value

long