nextSibling

The TreeWalker.nextSibling() method moves the current Node to its next sibling, if any, and returns the found sibling.

MDN Reference