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

I have the following code taken from the documentation.

firefox = App.open(r"C:\Program Files (x86)\Mozilla Firefox\firefox.exe")
wait(2)
#firefox.focus()
wait(1)
firefox.close()

When I call the method of focus() or wait(). I get an error

[error] script [ HappyDev ] stopped with error in line 5
[error] AttributeError ( 'NoneType' object has no attribute 'close' )
In the previous version SikuliX these methods worked fine.  Could you tell me 
how to solve this problem

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to