How can we move to the nth-child element using XPath?
Hi Joe,
Basically, there are two ways of navigating to the nth element using XPath-
Using square brackets with index position- Example – div[2] will find the second div element. Using position()- Example – div[position()=3] will find the third div element.