I have a webpage with multiple element instances of same Class name. What differentiates them is the classname index --> Classname[i]. innerText for each instance is unique.
I am required to fetch the “index” position of the classname using the unique “innerText”. Can you folks please help me with the java query I should execute to get the index position corresponding to an “innerText”
Thanks in advance.