javascript find element at coordinates

Developer from somewhere

Problem: given X,Y coordinates, find the element in the DOM at that position.

Solution:

  • use document.elementFromPoint(647,17)