The page says Playwright tests "breaks on selector/layout changes" but that this is more robust because it "reads the page like a human, via ARIA semantics". Any well-written e2e test should be using ARIA semantics to drive page object selectors, precisely because using other selector strategies are fragile. Playwright also has a test healer AI agent to solve this problem.
onion2k•57m ago