← Back to team overview

sikuli-driver team mailing list archive

[Question #639753]: Taking a screenshot of an image on one screen and comparing/finding it on another page

 

New question #639753 on Sikuli:
https://answers.launchpad.net/sikuli/+question/639753

I'm building a script using Sikuli and ran into a bit of a wall. I'm basically trying to capture a screenshot of an image on a screen and compare/find it on another screen. I've used capture() to no avail.

Help would be much appreciated.
Here is my simple code. It always prints yes for some reason.

x=capture(Region(268,856,312,20))  
click("next tab")  
if exists(x):    
    print "yes"  
else:  
    print "no"  

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.