I want to click a button, this button wraps can be in different y positions:
For example:
Wraps the button can be
x100 y100
or
x100 y 200
I want to be able to identify where the button is, and based on its location make a series of clicks going from above the button and having a distance of 10y until I get to they I want.
For example:
If the button is located at
x100 y100
the clicks should start at y90 x100, then y80 x100, then y70 x100 until they reach x100 y20 where I want them to be.
If the button is located at position
x100 y 2000
Clicks should start at x100 y1990, then x100 y1980 until they reach x100 y20.
The 'x must remain unchanged, I just want to automatically find the Id element and start the clicks above it, without giving the coordinates manually, it must be via variable.
How could I do that?
For example:
Wraps the button can be
x100 y100
or
x100 y 200
I want to be able to identify where the button is, and based on its location make a series of clicks going from above the button and having a distance of 10y until I get to they I want.
For example:
If the button is located at
x100 y100
the clicks should start at y90 x100, then y80 x100, then y70 x100 until they reach x100 y20 where I want them to be.
If the button is located at position
x100 y 2000
Clicks should start at x100 y1990, then x100 y1980 until they reach x100 y20.
The 'x must remain unchanged, I just want to automatically find the Id element and start the clicks above it, without giving the coordinates manually, it must be via variable.
How could I do that?