I’m trying to automate some things in FB and I managed to do this using normal click commands.
However I’m afraid that FB will trigger the “bot flag” over time, so I’m trying to rewrite the macro using XMove and XClick, so it will feel more natural.
I can find the elements I want using xpath (complicated expressions but still possible).
However the XMove/XClick commands are placing the mouse about 10 pixels bellow the target area all the time. That makes the code to click on the wrong button/menu entry.
I am using win 10, single monitor (laptop) 1920/1080 125%, Vivaldi browser and UI version 5.9.3.
I’m thinking that I could solve the issue by adjusting the Y (and X in necessary) position with a fix value which works in my case. However I could not find a way to store the element location in a variable. Is that possible? I remember in Katalon it was possible using the command storeElementPositionLeft/Top etc.