I'm currently using a robot to click at a location on the screen as I've had issues with clicking a button that has a specific ID. e.g. Button_1401. This works fine up to a point, a few problems I've encountered so far have been scrolling the page/ a pop-up covering the browser/ screen resolution size.
I've been thinking of possibly moving the firefox window to the front before using the robot click each time but this seems like a slow process. Is it possible to tell the robot to click the X, Y of the browser itself?
I have tried using Actions.moveToElement but clicking the button even with the correct co-ordinates to offset to I get errors.