I need to authenticate to a website.
After successful authentication - a form is shown, where a few details are filled.
After submitting the form, the page gives an impression that something is loading:
After a non-fixed delay, a download pop up is shown:
Sadly, assuming if I try to download from URL, I cannot overcome the authentication part. The web browser client is authenticated, not the VBA client.
My simple question is:
- How to detect, whether this download pop up has appeared or not in IE9+?
A few things I have tried:
URLDownloadToFile
is of no use, since the download link for the file is not fixed and appears after authentication- Siddharth's answer, does not addresses IE 9 download dialogue box, rather works for IE 8 dialogue box
I believe that after successfully detecting this pop up, I can download the file to local disk simply using SendKeys
- correct me if needed.
Side question: how to download the file to local disk after detection is successful?