|
@@ -63,7 +63,7 @@ def waitFindImg(imgPath, waitTime, preWaitTime, isCV=False):
|
|
|
else:
|
|
|
myTimeSleep(0.2)
|
|
|
curTime = curTime + 0.2
|
|
|
-
|
|
|
+ print("waitFindImg failed", imgPath)
|
|
|
return False, None
|
|
|
|
|
|
def waitFindImg_withBool(imgPath, waitTime, preWaitTime, isCV=False):
|
|
@@ -85,6 +85,7 @@ def waitClickImg_noWait(imgPath, waitTime, preWaitTime, isCV=False):
|
|
|
else:
|
|
|
myTimeSleep(0.2)
|
|
|
curTime = curTime + 0.2
|
|
|
+ print("waitClickImg_noWait failed", imgPath)
|
|
|
return False, (-1, -1)
|
|
|
|
|
|
def waitClickImg_noWait_withBool(imgPath, waitTime, preWaitTime, isCV=False):
|
|
@@ -115,6 +116,7 @@ def waitclickMultiImg(imgArr, waitTime, preWaitTime):
|
|
|
else:
|
|
|
myTimeSleep(0.2)
|
|
|
curTime = curTime + 0.2
|
|
|
+ print("waitclickMultiImg failed", imgArr)
|
|
|
return False, (-1, -1)
|
|
|
|
|
|
|
|
@@ -153,6 +155,7 @@ def waitClickImg(imgPath, waitTime, preWaitTime, isCV=False):
|
|
|
else:
|
|
|
myTimeSleep(0.2)
|
|
|
curTime = curTime + 0.2
|
|
|
+ print("waitClickImg failed", imgPath)
|
|
|
return False, (-1, -1)
|
|
|
|
|
|
def waitClickImg_withBool(imgPath, waitTime, preWaitTime, isCV=False):
|