← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #672384]: Sikuli command to click button within HTML5 canvas object fails

 

Question #672384 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/672384

    Status: Open => Answered

masuo proposed the following answer:
Try low-level-mouse actions.
You can control delay time at click actions by using mouseDown() etc.
http://doc.sikuli.org/region.html#low-level-mouse-and-keyboard-actions

[example1:]
mouseMove("image.png")
wait(2)
mouseDown(Button.LEFT)
wait(1)
mouseUp(Button.LEFT)

[example2:]
mouseMove("image.png")
wait(2)
click("image.png")

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.