Focus after PDF download

Using Katalon Recorder, I wanted to download a pdf and was able to do so by requesting url for pdf. That step passed. But when I went to continue script in browser, the next step failed probably because that Chrome tab no longer had focus. Is it possible to request focus for browser after download in Katalon recorder?

I assume that Katalon Recorder uses Selenium so one of these commands should work:


Please try to use windowFocus command, it will focus on the current window.

Tried windowFocus after clicking link for pdf download but window never gained focus.

Can you describe more what’s going on? images and gifs are appreciated.