selectNode

fun selectNode(node: Node)(source)

The Range.selectNode() method sets the Range to contain the Node and its contents.

MDN Reference