Not working methods of the class App - close(), focus(),
Asked by
Alexandr
I have the following code taken from the documentation.
firefox = App.open(
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
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Alexandr for more information if necessary.
To post a message you must log in.