Matcher

In Replay SDK, we provide 6 default matchers for locating elements.

Replay SDK uses a variety of algorithms and data to comprehensively determine how to accurately locate elements. The priority order of the matchers is as follows:

  1. FullMatch: Perform exact matching using the selector and element content.

  2. ContentMatch: Match by the element's content.

  3. FuzzyMatch: Match by fuzzy matching the element's content.

  4. SelectorMatch: Match elements using the selector.

  5. PathMatch: Match elements using the path.

  6. VisionMatch: Match elements through visual matching.

Last updated