Downloads window is disappearing

Hi,
In my automation, I need to click the downloads in the Edge browser and click open image button in downloads. I am doing CTRL+J which is bringing the downloads window.

But the issue is when I set focus or attach window to the downloads window to be able to click the open image, the downloads window is disappearing. So the automation cannot find open button image. This is even when using modern activity use application/browser

I have been trying hard to fix this. Can someone help? Thank you,

@A_Learner,

If you want to get latest downloaded file, instead of making this complicated by going into Downloads window and then get first element, get the latest file directly from Downloads folder.

Thanks,
Ashok :slight_smile:

1 Like

@A_Learner

You can directlt pass the file location to start process or use application/browser and open it

Cheers

1 Like

If you are downloading a file, and then opening it, the best activity to use is Wait for Download

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.