This MDN page say Document.elementFromPoint()
Document.elementFromPoint()
returns the topmost Element at the specified coordinates (relative to the viewport).