I want to select an element [@class='title']
with XPath
<span class="title">Private Area</span>
<span class="title"><mark>Ablage für Tests</mark></span>
<span class="title">Zweite <mark>Ablage für Tests</mark></span>
I need one XPath for all of the three examples where the text can change. I tried //*[@class='title'][text()='TEXT']
--> This works only for the first example but not for the others.
Aucun commentaire:
Enregistrer un commentaire