java.lang.Object
org.openqa.selenium.devtools.v120.domsnapshot.model.TextBoxSnapshot

public class TextBoxSnapshot extends Object
Table of details of the post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions.
  • Constructor Details

  • Method Details

    • getLayoutIndex

      public List<Integer> getLayoutIndex()
      Index of the layout tree node that owns this box collection.
    • getBounds

      public List<Rectangle> getBounds()
      The absolute position bounding box.
    • getStart

      public List<Integer> getStart()
      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.
    • getLength

      public List<Integer> getLength()
      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.