(//input[@type="text"])[4]. You can also traverse from the indexed element. So, to find the link in the 2nd div with class 'abc': (//div[@class='abc'])[2]/a.
確定! 回上一頁