🎯

Locator Strategies

ID, CSS, XPath, ARIA role, text, data-testid, and shadow-DOM-piercing locators, from trivial to deliberately brittle.