The Range.setStartAfter() method sets the start position of a Range relative to a Node.
Range.setStartAfter()
MDN Reference