evaluateMatch

abstract fun evaluateMatch(target: ElementSelector): Int

Evaluate how closely this selector matches with the given target selector.

Any value greater than zero means there is a match. The higher the value, the more exact the match. In the cases of selectors with multiple identifying attributes, there may be partial matches with lower values, and exact matches with higher values. Any negative value indicates no match.

Return

Value for the quality of selector match.