I have the following HTML code in the web page:
…
sometext
1
I need to find a text of the second span (‘sometext’ value in this particular example). However, I can’t use a class of this span because it’s used in the other tags (including other spans). Only a class name of the latest span is unique. So I can find the the latest span using the following expression:
How can I find a value of the second span in this case?