How to Handle Dynamic Tooltip Texts in Web UI Automation?

Hello

I am working on a web automation flow where tooltips display context specific information when hovering over icons. :innocent:These tooltips do not appear in the DOM until hovered & even then; their attributes change dynamically with each session.

Traditional selectors / anchors are unreliable, and using OCR is not consistent due to varying tooltip positions and themes. Has anyone found a stable way to extract or validate tooltip content in such dynamic environments? :thinking:

I have experimented with Hover + Get Text, Find Relative Element and even injecting JavaScript via custom activities some work temporarily, but none are resilient across UI updates. :upside_down_face:

I am curious if anyone has leveraged newer UIAutomation packages or CV-based automation for this use case, especially in scenarios where tooltips contain critical validation messages or contextual info. :upside_down_face:

While explaining this problem to a new teammate, I also walked them through what is UiPath, and it reminded me how UIAutomation is at the heart of its power yet even the basics like tooltips still present edge cases! :innocent:

Any creative solutions or patterns others have used would be great to learn from.

Thank you !! :slightly_smiling_face: