Zulqadar Idrishi

Zulqadar Idrishi

  • NA
  • 471
  • 71.3k

Find the HTML element by coordinate position (pageX,pageY)

Feb 19 2020 6:13 AM
I have an input box which ask for the page coordinate position for x and y and I need to find which element is at the exact coordinate position of given x and y value on the page.
 
Example :
 
Input: x=100, y=100;
 
output: <a href='#' >this link is at position pageX=100 and pageY=100<a>
 
This can be any element of page according to coordinate position.
 
I will be very thankful to you! 

Answers (1)