sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #49390
Re: [Question #676275]: .exists doesnt work properly
Question #676275 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676275
Status: Open => Answered
RaiMan proposed the following answer:
you have to exit the loop after the click:
while(s.exists(locator)==null){
s.type(Keys.DOWN);
if(s.exists(locator)!=null){
s.click(locator);
break;
}
}
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.