https://cypress.io logo
Also, if my markup looks like `<h1/><div><h2/></di...
# e2e-testing
e
Also, if my markup looks like
<h1/><div><h2/></div>
, what's the most efficient way to get from the h1 to the h2? I'm thinking of some function like
.next("h2")
that does preorder DOM traversal.