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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -