← Back to team overview

sikuli-driver team mailing list archive

[Question #235073]: screen.find() failing with 1.0.1 version

 

New question #235073 on Sikuli:
https://answers.launchpad.net/sikuli/+question/235073

Screen.find("image.png") fails with the latest Java API. The image is definitely present in the bundle path. Throws the following error, 

[error] image.png looks like a file, but not on disk. Assume it's text.
[error] Region.find(text): text search is currently switched off
Exception in thread "main" FindFailed: Text search currently switched off
  Line 1671, in file Region.java

	at org.sikuli.script.Region.wait(Region.java:1671)
	at org.sikuli.script.Region.find(Region.java:1590)
	at sample.SampleClass.main(SampleClass.java:31)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.