I am trying to get a list of all the selectors of a specific element using Selenium for Java.
What I want is to find a way to get all the possible selectors that the element has and save them in a list so I can call them later on and use them.
I searched for an answer but couldn't find a way to get all the selectors of a specific element.