← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #630067]: Cannot scroll iOS simulator

 

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

    Status: Answered => Open

Liron Yahdav is still having a problem:
I tried that but same issue:
https://media.giphy.com/media/l1BgSSCPCqq4cxFQc/giphy.gif

I added some additional hacks (holding down Shift+Alt keys which mimics two finger drag http://stackoverflow.com/a/13275908/62) and now it works:
switchApp("Simulator")
start = find("1493773337554.png")
target = find("1493773366436.png")
mouseMove(start)
wait(0.3)
keyDown(Key.SHIFT + Key.ALT)
mouseDown(Button.LEFT)
wait(0.3)
mouseMove(target)
wait(0.3)
mouseUp(Button.LEFT)
keyUp(Key.SHIFT + Key.ALT)

It would be nice if there was a way to get it working without the hacks.
If I do the drag manually it works fine, so I still think something is
wrong with Sikuli.

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