'Pywinauto fails in VS Code and Succeeds in CMD
My very simple pywinauto code runs smoothly on VS code until recently. In the last few days I didn't manage to run this code in VS code (always get an ElementNotFound exception) while the exact same code runs successfully in CMD.
Why is that?
EDIT: Managed to overcome this - had to add wait() after application connect.
Solution 1:[1]
After some time I have realized that adding sleep() interruptions after Application.connect() resolved the abovementioned issue.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Amir |
