How can I do to have a time of grace without using an implicit wait (like ‘sleep(5000)’) while there is a bot trying to open a new desktop window?
- Open Notepad++
- Select File/Open
- Open File window is opened. In this step is where I want to wait.
In a webapp, I’m using the following code:
WebDriverWait wait = new WebDriverWait(roboticsDriver.getWrappedObject(), 10);