Class InlineTextBox
java.lang.Object
org.openqa.selenium.devtools.v119.domsnapshot.model.InlineTextBox
Details of post layout rendered text positions. The exact layout should not be regarded as
stable and may change between versions.
-
Constructor Summary
ConstructorDescriptionInlineTextBox
(Rect boundingBox, Integer startCharacterIndex, Integer numCharacters) -
Method Summary
Modifier and TypeMethodDescriptionThe bounding box in document coordinates.The number of characters in this post layout textbox substring.The starting index in characters, for this post layout textbox substring.
-
Constructor Details
-
InlineTextBox
-
-
Method Details
-
getBoundingBox
The bounding box in document coordinates. Note that scroll offset of the document is ignored. -
getStartCharacterIndex
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. -
getNumCharacters
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.
-