sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #38976
[Question #300736]: FindFailed Error when image is not on screen
New question #300736 on Sikuli:
https://answers.launchpad.net/sikuli/+question/300736
for n in range(3):
#while (exists("1469038914742.png"),1):
#while True:
if not exists("1469039051065.png"):
click("1469038914742.png")
else:
click("1469042062223.png")
click("1469038914742.png")
It spits out this error if image is not there how do i have the code end if image fails?
[error] script [ sikuli.sikuli3 ] stopped with error in line 5
[error] FindFailed ( 1469038914742.png: (23x34) in S(0)[0,0 1920x1080] E:Y, T:3.0 )
Thanks so much in advance
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.