I am trying to use java to get screen coordinates for any object in the DOM.
For example I want to write code to take a button name ()or any object in a web or windows app) and return x, y coords so I can perform mouse actions on that button using java robot.
I dont want to get coords myself because I want it more dynamic so get current coords on the fly pass to robot and interact with object.
any thoughts would be great