ScreenShot 和影象識別
這些功能將幫助你擷取螢幕截圖,並將影象與螢幕的一部分相匹配。
.screenshot('c:\\path') #get the screenshot.
.locateOnScreen('c:\\path') #search that image on screen and get the coordinates for you.
locateCenterOnScreen('c:\\path') #get the coordinate for the image on screen.