Get the exact location of an element on Webpage
In this blog, I'll explain how to get the location of an element on a web page.
Approach
First find the nearest parent element of the given element
Then get the coordinates of our object/element with respect to the parent object.
Loop these actions ...
yashpaneliya.hashnode.dev2 min read