offsetNode

The offsetNode property of the CaretPosition interface returns a Node containing the found node at the caret's position.

MDN Reference