sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #18049
[Question #229022]: onAppear without waiting
New question #229022 on Sikuli:
https://answers.launchpad.net/sikuli/+question/229022
Time taken for webpage loading is unpredictable, so I would like to use onAppear, somehow it doesn't work in expectation. Appreciate anyone could help.
code that cannot work:
type("https://www.google.com/")
click("goarrow.png")
onAppear("UserNamePassword.png", click("UserNamePassword.png"))
code which is working:
type("https://www.google.com/")
click("goarrow.png")
wait(10)
onAppear("UserNamePassword.png", click("UserNamePassword.png"))
I don't wish to use wait because sometimes it might be more than 10 seconds or lesser.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.