We are having a list structure where I need find a position of the text in a list and click it’s parent object. Can any body help us to resolve that. Please see below example
I need to find on which position “Find Me” Text is present, i.e second
| of the table
The CSS path for the TD containing “find me” is:
#myid tr:nth-child(2) > td
I need find a position of the text in a list and click it’s parent object.
Following xpath expression should work:
Note that I used ‘parent axes’ of xpath (https://www.w3schools.com/xml/xpath_axes.asp).
@4280-kazurayam thanks for reply, This one works for me. Marking this topic as done.