← Back to team overview

sikuli-driver team mailing list archive

[Question #255743]: Script gets stuck (stops) on "click(region.exists(img))"

 

New question #255743 on Sikuli:
https://answers.launchpad.net/sikuli/+question/255743

I've got a script that will post a message along with upload 5+ images. 

This snippet of code keeps clicking the "Post" button until it is no longer faded and becomes clickable in which case the button is clicked. 

It all works great until it actually clicks on the Post button (when it is clickable) and the message posts... 

It just sits at a standstill and does not begin again on the While loop.

I've already tried commenting out this code and the script loops fine otherwise.


while exists("fbPostIMG.jpg"):    
        click(postregion.exists("fbPostIMG.jpg", 0))


Any suggestions?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.