I am using selenium and I am using xpath in target value .
I have a table and I need to count the number of rows.
For example I have an X path starting from //tr[2]/td/span/input to //tr[10]/td/span/input. Now I want to count the number of X path count by VerifyXpathCount.
I need to supply a regex in the Target field of Selenium like //tr[(*)]/td/span/input
I am not able to apply such regex so I need to add some regex.
How do I do this?
//to deal with all element
in case if you want to find unique element than you can use other conditions with //tr[/td/span/input] instead of looping