Yes, it's possible to enhance Selenium with AI-based tools to make element detection more resilient to UI changes. Here are a few options:
AI Tools for Smarter Element Location
Testim or Functionize
AI-driven test platforms that can self-heal locators when UI changes.
Mabl
Uses machine learning to automatically adapt to changes in the DOM.
Healenium (open-source)
Works with Selenium and Java
Self-heals broken locators at runtime using historical data.
Applitools Eyes
Visual AI testing to detect layout/UI changes (can work alongside Selenium).