Hi everyone, I am currently working on developing a Firefox plugin and have come across an issue with the following function:
I am using the code var obj = page.elementFromPoint(x,y); //x,y are the mouse coordinates
The problem I am facing is that this function only returns the topmost element under the given point. However, I require the innermost element located at the specified coordinates. Can anyone help me find a solution?
Thank you!