Somehow the calculations don't seem to work....
So I tried a hail shotgun method:
CLICK ELEMENT AT COORDINATES id=halfButton 600 100
LOG TO CONSOLE 1
CLICK ELEMENT AT COORDINATES id=halfButton 600 150
LOG TO CONSOLE 2
CLICK ELEMENT AT COORDINATES id=halfButton 600 100
LOG TO CONSOLE 3
CLICK ELEMENT AT COORDINATES id=halfButton 610 100
LOG TO CONSOLE 4
CLICK ELEMENT AT COORDINATES id=halfButton 620 100
LOG TO CONSOLE 5
CLICK ELEMENT AT COORDINATES id=halfButton 630 100
LOG TO CONSOLE 6
CLICK ELEMENT AT COORDINATES id=halfButton 560 100
LOG TO CONSOLE 7
CLICK ELEMENT AT COORDINATES id=halfButton 570 150
LOG TO CONSOLE 8
CLICK ELEMENT AT COORDINATES id=halfButton 580 100
LOG TO CONSOLE 9
CLICK ELEMENT AT COORDINATES id=halfButton 590 100
LOG TO CONSOLE 10
CLICK ELEMENT AT COORDINATES id=halfButton 520 100
LOG TO CONSOLE 11
CLICK ELEMENT AT COORDINATES id=halfButton 530 100
Still it didn't hit the target.
I know the viewport is: 1366 by 643 (1374, 586) is out of bounds of viewport width (1366) and height (643), which was tried by x-700 x y-100.
- If it is not outside of viewport, I actually miss some kind of feedback "tried at location x and y".
- Is the x and y from the centre of the element or from the left top of the viewport?
- It is not visible to see where the element is clicked... I mean there's not any kind of mousetrail/mousehit location to see.