sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #12303
Re: [Question #204840]: sleep(2940) kills test
Question #204840 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204840
Status: Open => Answered
Roman Podolyan proposed the following answer:
The simple solution I think is:
def longsleep(longtime):
i = longtime // 400
for j in range(i):
sleep(400)
sleep(longtime % 400)
longsleep(2940)
If sleeping in long interval doesn't work, may be sleeping in shorter interval do? Alas, 2940 is a bit long to test it quickly.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.