Selector
An expression that identifies elements on a page, such as a CSS selector, XPath, or role-and-text query.
What is Selector?
What is Selector?
A selector is the expression a test uses to find elements—commonly a CSS selector, an XPath, or a user-facing query by role, label, or text. Selector quality is the single biggest factor in test stability: selectors bound to volatile implementation detail break on the smallest redesign, while user-facing ones endure. Modern practice favors resilient, semantic selectors. QI generates strong selectors when recording a flow and, when a page changes and a selector stops matching, its healing engine repairs it automatically so the test keeps finding its target.