Table of Contents

Class InlineTextBox

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

Details of post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions.

public sealed class InlineTextBox
Inheritance
InlineTextBox
Inherited Members

Properties

BoundingBox

The bounding box in document coordinates. Note that scroll offset of the document is ignored.

[JsonPropertyName("boundingBox")]
public Rect BoundingBox { get; set; }

Property Value

Rect

NumCharacters

The number of characters in this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2.

[JsonPropertyName("numCharacters")]
public long NumCharacters { get; set; }

Property Value

long

StartCharacterIndex

The starting index in characters, for this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2.

[JsonPropertyName("startCharacterIndex")]
public long StartCharacterIndex { get; set; }

Property Value

long