I used this Xpath expression "//span[@class='Big']"
and got all elements in that page that are under <span>
tag and class='Big'
.
My question is what if I want just the first occurrence on the page, not all occurrences, what would be the correct Xpath
expression?
Thanks,
Narin
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…