UiPathSoftware Engineer · OnsiteCodemia practiceFind UI Elements With Wildcard Selectors and Label Anchors
Given a UI element tree (tag, attributes, children), a hierarchical selector where each step matches a descendant of the previous match using * and ? wildcards in attribute values, and an optional anchor spec, return the matching target elements. When an anchor is given, keep only targets whose nearest matching sibling is closest, preferring a label that precedes the field.
Medium
Coding & Algorithms