UI Path Selector issue

Hi team,

Is there any property of UI Path from which we can check that either a selector will work for different environments or not ?.

I made my selectors generic already but sometimes it works and sometimes our bot failed. Si is there any property so that we can check that a element will work on all dev, UAT and production environment.(As element is same like outlook Reply button)