Class DOMElementWithVisualInfo


  • public class DOMElementWithVisualInfo
    extends Object
    • Field Detail

      • xpath

        private final String xpath
      • visualHash

        private final String visualHash
      • boundingBox

        private final org.openqa.selenium.Rectangle boundingBox
    • Constructor Detail

      • DOMElementWithVisualInfo

        public DOMElementWithVisualInfo​(String xpath,
                                        org.openqa.selenium.Rectangle boundingBox)
      • DOMElementWithVisualInfo

        public DOMElementWithVisualInfo​(String xpath,
                                        org.openqa.selenium.Rectangle boundingBox,
                                        String visualHash)
    • Method Detail

      • getBoundingBoxDimensionsString

        public static String getBoundingBoxDimensionsString​(org.openqa.selenium.Rectangle boundingBox)
      • getXpath

        public String getXpath()
      • getVisualHash

        public String getVisualHash()
      • getBoundingBox

        public org.openqa.selenium.Rectangle getBoundingBox()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getBoundingBoxString

        private String getBoundingBoxString()