← Back to team overview

sikuli-driver team mailing list archive

[Question #226788]: onAppear

 

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

Hi! My code doesn't work:
 def Check(event):
        exists(confirm.png)
        event.reg.stopObserver()
  with "QTTTQwww2nd1.png" as reg:
        onAppear(message.png, Check)
        reg.observe(15)

AttributeError: 'str' object has no attribute '__exit__'

When message appears, it should be checked that the appearing message is correct  and the confirm button exists.

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