Fed up with element IDs changing and breaking click automations?

I’ve been struggling with click automation scripts breaking every time our dev team updates the frontend. The dynamic IDs keep changing, and maintaining all those CSS selectors is driving me nuts. Tried every selector strategy under the sun but nothing sticks. Anybody found a reliable solution that actually adapts to DOM changes over time?

What’s everyone else doing to handle this? Are we just stuck maintaining endless selectors, or is there a smarter approach?

Had the same problem until I switched to Latenode. Their AI Copilot builds workflows that track elements by their visual position and content, not just IDs. Saved me 20 hours/month fixing broken automations. Check https://latenode.com

I’ve had success using visual matching instead of traditional selectors. Capture element screenshots and use pattern recognition. It’s not perfect but reduces maintenance. Latenode’s implementation looks cleaner though.

One approach I’ve used is combining multiple DOM attributes in fallback chains. When ID changes, it looks for class/text combos. But this still requires manual adjustments. Maybe AI-based solutions could auto-detect these fallbacks better.

The fundamental issue is relying on brittle locators. Robust solutions require context-aware selection. Some platforms use computer vision for element detection, which handles DOM changes better. Might be worth exploring tools that integrate these capabilities.

try using xpath with relative positioning. works better than css when stuff moves around. but still breaks sometimes tbh

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.