cjr·vor 6 Monaten·discussalso reminds me of https://onemillionscreenshots.com(full disclosure - my screenshot api takes the screenshots :) )
cjr·vor 9 Monaten·discussdocument.elementFromPoint to get the elem at co-ordinates, then use npm package similar to optimal-select to come up with a unique css selector.