sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #35602
[Question #274127]: Not working methods of the class App - close(), focus(),
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.