Question #661532 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661532
Status: Open => Answered
RaiMan proposed the following answer:
--1: the captured region is not saved at all, since it is a BufferedImage,
which is an in-memory representation. ... and yes, the Finder looks for images
given by Finder.find(image) inside this in-memory image.
Remember: this in-memory image is created at time of
Screenshot regionset = new AShot().takeScreenshot(driver, elmt);
and does not change afterwards (it is a shot or in SikuliX idiom a capture)
--2: Ryt ;-) it does not look into the webscreen, but into the captured
screen content according to --1
--3: Not ryt ;-) until this has happened:
Screenshot regionset = new AShot().takeScreenshot(driver, elmt);
the window must be active of course
--4: see --3
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp