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

I have a small script that performs some actions in a web-based application. A 
cornerstone of this script is waiting for an "event complete" message, and 
proceeding to the next step. Here's the simplified code:

-----------------------------------
for a in range(1000):
    {start the action}
    Region(500,700,20,45)
    wait("screenshot.png", 5000)  <---- this monitors a particular region of 
the screen for the "OK" message
    {complete the action}
-----------------------------------

This works perfectly fine. However, now I would like to run it in 10 tabs at 
the same time.

What would be the proper way to set up observation for a specific event (which 
will be the same in any tab), across multiple tabs? Using time delays will not 
work, since the action may take a variable time to complete.

Any advice - especially with a simple code example - would be much appreciated.


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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to