Table of Contents

Class SetVirtualKeyboardGeometryOverrideCommandSettings

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

Overrides virtual keyboard geometry in CSS pixels, relative to the top-level viewport. The provided rect is used for navigator.virtualKeyboard.boundingRect, geometrychange events, and env(keyboard-inset-*) values on the inspected frame. The override applies independently of navigator.virtualKeyboard.overlaysContent so clients can preview overlay geometry without mutating page state. Values are rounded to the nearest CSS pixel. Omitting the rect clears the override.

public sealed class SetVirtualKeyboardGeometryOverrideCommandSettings : ICommand
Inheritance
SetVirtualKeyboardGeometryOverrideCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

KeyboardRect

Gets or sets the keyboardRect

[JsonPropertyName("keyboardRect")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Rect? KeyboardRect { get; set; }

Property Value

Rect