Reputation: 115
I want to get the span value (Salary vs age) but so far I'm stuck at the td part. I wrote
$x("//tr/td[@class='row1']") but it didn't select the 3rd td
$x("//tr/td[@class='row1']")
Upvotes: 0
Views: 30
Reputation: 7173
the xpath should be
//tr/td[@class='row1'][3]//span[1]
Upvotes: 1