← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #185866]: How to handle find failed errors for wait function while looping CSV file

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- I wasn't waiting for the image to load 
Ok, I thought that you wanted to click something on the page, that is being loaded.

With Sikuli, there is no other way, to easily check such a situation other than by looking for the existence of some visual content, whose existence shows, that loading has finished.
So this means: try to script that in Sikuli, what is the base of your decision, that the page is loaded sufficiently.

e.g. visual loading status information has vanished or the status region
is empty after some basic wait time (4 seconds in your case).

e.g. Safari on my Mac: Since I can have the region of the browser
window, I could observe the bottom status bar in its left part, where
Safari reports the page load process. If this is empty again after a
while, I can start acting on the page.

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