need help on region.text() based on the position click
Asked by
Ninja Mustang
How can I add the x y coordinate based on where the button.png is located on the screen?
I have the following:
x = 100
y = 50
click("button.png")
r = Region(x,y,400,200)
test1 = r.text()
I saw in log, the click button is [500,300]. I would like to them to x and y so the new region would be
Region(
or please suggest me alternative method.
Thanks!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.