nextNode

The TreeWalker.nextNode() method moves the current the found node.

MDN Reference