To select a specified node within the XPath node use this
//someName[3]
This line means all someName elements in the document those are the third someName child of their parent.
There may be a chance of having many elements
If you need exactly third someName element use this
(//someName)[3]
Let me explain [] has more priority than // and one more thing put all expressions of this type //someName in brackets when you need to specify a node of your selected node-list.
If you are interested to learn Selenium on a much deeper level and want to become a professional in the testing domain, check out Intellipaat’s automation testing certification!