click a button to distinguish by around image

Asked by Matsuda Tomohiro on 2020-07-27

I try to automate a process in browser game.

I want click a button but image of button have same image compared to others button.

image of around of button is different from around others button.

so I think that it can distinguish button by image of around button.

please tell me how to distinguish same image of button.

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2020-07-27
Last reply:
2020-07-28
RaiMan (raimund-hocke) said : #2

You might use the findAll() variants, then evaluate the position (either absolute or relative to other known objects) and decide.

Can you help with this problem?

Provide an answer of your own, or ask Matsuda Tomohiro for more information if necessary.

To post a message you must log in.