Facing issue with Sikuli 2.0.4 version for find() function.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Won't Fix
|
Undecided
|
RaiMan |
Bug Description
Our objective is to be able to specify the timeout for the location of a bitmap.
In early version of Sikuli i.e. 1.1.1 find() function internally calls autoWaitTimeout() which wait's for stipulated time like if we overrides the autoWaitTime by placing below code,
sikuli_timeout = screen.
screen.
But in the latest version 2.0.4, find() is not calling the autoWaitTimeout due to which not able to override the default autoWaitTimeout. Please suggest how we can achieve this by some workaround.
Sikuli version - 2.0.4
Operating System - 64-bit Windows
Please check the find() method of Region.class of 2.0.4 and 1.1.1 and do comparison.
use wait() instead.
This was a bad implementation in 1.x.
find() was always intended, to not wait for appearance, but search only once.