dom - How to get an element's index by using xPath and text value -


i have following structure

<div class='list'>   <div class='column'>aaa</div>   <div class='column'>bbb</div>    ...   <div class='column'>jjj</div> </div> 

i'm new xpath, it'll helpful assistance. index of element text value "aaa" examp, expect int = 1 / 0...

thanks


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

css - Text drops down with smaller window -