← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #696411]: waitBest returning Null pointer exception

 

Question #696411 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696411

    Status: Open => Answered

Manfred Hampl proposed the following answer:
If you have got the names of the images in an array, then you should use
waitBestList instead of waitBest

https://sikulix-2014.readthedocs.io/en/latest/region.html#find-more-
than-one-image-in-a-region-at-the-same-time

@RaiMan:
There is a error in the documentation:
The waitTime parameter is missing in waitBestList(ListPS), should probably be waitBestList(waitTime, ListPS)

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