GeezerVison is showing github.com — ATX/README_ADVANCED.md at master · 4872866/ATX
/
README_ADVANCED.md
Copy path 20 lines (15 loc) · 404 Bytes
/
README_ADVANCED.md
Copy pathFile metadata and controls
20 lines (15 loc) · 404 Bytes
Copy raw file
Download raw file
OutlineEdit and raw actions
Read this doc before you read README.md
How to catch click_image errors
import atx
d = atx.connect()
try:
d.click_image('button.png', timeout=1)
except atx.Error as e:
print e.data
Expect result if button.png is not found, you will find matched is False
FindPoint(pos=(115, 1014), confidence=0.5189774632453918, method='template', matched=False)