Open vcher5 opened 5 years ago
The doc says: waitVanish(pattern, seconds=None)[source] Waits until the specified pattern is not visible on screen.
If seconds pass and the pattern is still visible, raises FindFailed exception. Sikuli supports OCR search with a text parameter. This does not (yet).
But it does not raise it because this line is commented out in the source code. `if match: return False
`
This was corrected for Sikuli compatibility, but the documentation was not updated. The functionality itself is correct. Thanks for the catch!
Fix has moved to develop
The doc says: waitVanish(pattern, seconds=None)[source] Waits until the specified pattern is not visible on screen.
If seconds pass and the pattern is still visible, raises FindFailed exception. Sikuli supports OCR search with a text parameter. This does not (yet).
But it does not raise it because this line is commented out in the source code. `if match: return False
self._findFailedHandler(FindFailed("Pattern '{}' did not vanish".format(pattern.path)))
`