sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #10890
Re: [Question #199027]: text search problem when .text() proves it is there
Question #199027 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/199027
RaiMan proposed the following answer:
The difference is based on the fact, that Region.text() (reading text
from a given region on the screen) internally works totally different
than searching for some given text somewhere on the screen (or inside a
smaller given region).
So if your search need not be on text, because it varies (in content,
font, background, ...), it is easier, to either use captured images or
even calculated offsets to click on.
e.g. since you want to click on "Work" and already know the region
(scnAct3), why not click on an offset from the center of the region?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.