On my website, there are three columns of interactive elements that can be scrolled vertically. Users are able to select one item from each column, and once selected, the chosen elements are connected by lines. The challenge I am facing is determining how to accurately track the exact position of each element on the page in order to correctly draw the endpoints of the connecting lines.