← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #236516]: The right way to script waiting for events in multiple browser tabs?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
the solution for such situations normally is to delegate the processing of the popup to a thread/subprocess, that works concurrently with the main workflow.
There are many possible solutions for that. The challenge is, to coordinate the usage of mouse and keyboard between main and sub. The easiest implementation is to simply run a second script for popup handling from commandline in parallel.

Sikuli has the observe feature, that can be run in background (only the search works in parallel, the processing in the handler is blocking the main workflow). 
Here you have a similar challenge: Since the handler might take over at any time, it might interfere with the main workflow according to the current mouse movement. This problem is not solved in Sikuli yet.

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