К примеру, делаешь получить текст "Осталось времени 1:30"
Можно ли из этого текста вытащить цифры "1:30", чтобы превратить их во время ожидания для начала следующего цикла?
Do you really think someone can help you if you don't provide the website where the pop-up occurs or at least some code-snippet from the html from the website? We can't read minds and we don't have a crystal ball.