We have a bookmarklet, and the user clicks a button and an inspect like highligther needs to kick in. We want to this to be cross browser.
For this we need to detect the DOM element during the mouse move, and once we have this element we need to highlight with CSS.
We have problems detecting the DOM element by mouse move, can you guide us how this is done?
Once we have this DOM element, on user click we need to extract XPath.