title: Select a child element from a parent using a cousin node of the same parent
body: <p>I'm using TestCafe Selectors to select elements. This is a complex nested scenario of cousin child.</p>
  
  <p>Here is the HTML to get an idea of what I mentioned above:</p>
  
  <p><a href="https://i.stack.imgur.com/N4vC2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/N4vC2.png" alt="html"></a></p>
  
  <p>In the picture, I have mentioned <code>1</code> and <code>2</code> which are the parent element (has same DOM) who has a grand grand child <code>path</code> and the same parent's grand grand child in the other tree is <code>&lt;span title='John' /span&gt;</code>. I need the node of the <code>path</code> but need to link <code>&lt;span title='John' /span&gt;</code> because all the parents have the same DOM.</p>
  
  <p>I don't know how to resolve this situation using TestCafe. Do I have to use jQuery? If yes, then how? I tried a lot but couldn't figure out.</p>