Class OccurrenceMatchingResult

    • Constructor Detail

      • OccurrenceMatchingResult

        public OccurrenceMatchingResult​(java.util.Map<java.lang.String,​java.lang.Object> input)
    • Method Detail

      • getRect

        public org.openqa.selenium.Rectangle getRect()
        Returns rectangle of partial image occurrence.
        Returns:
        The region of the partial image occurrence on the full image.
      • getMultiple

        public java.util.List<OccurrenceMatchingResult> getMultiple()
        Returns the list of multiple matches (if any). This property only works if the `multiple` option is enabled.
        Returns:
        The list containing properties of each single match or an empty list.
        Throws:
        java.lang.IllegalStateException - If the accessor is called on a non-root match instance.
        Since:
        Appium 1.21.0