click on link where position is below taken picture

Asked by daka

ok hier is problem:
I have picture that is always there on the website, but below that picture it is content that rotates (unknow picture, cant do anything about it) and I want to click on that below content.

so I know the image position and I take snapshot and I want to click on the link bellow that image like 30px from that picture down.

I see now I can take snapshot and have click(img), but I want to click below image 30px

I hope it is clear question, tnx

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
j (j-the-k) said :
#1

Just configure the target offset of the image.
If you're useing Sikuli IDE, click on the image in your script to open the Pattern Settings. Click on the right tab to open the target offset setting. Here you can define how much offset will be used when Sikuli clicks on the image. In your case, you'd have to set it to x = 0, y = 30 to move the click position 30 pixels down.

I hope it is a clear answer =)

Can you help with this problem?

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

To post a message you must log in.