Description:
Just a normal case, click the download button, and it download the file. It’s working totally fine when I run the macro directly(with or without OnDownload
). But when I use the powershell, or even just the HTML Page, it will fail.
More detail:
- When not using
OnDownload
, theclick
is normally clicked, and the macro is run successfully. But there’s not file downloaded. - When using
OnDownload
, after click the the download button, macro will freeze. After 10s, it will fail with[error] until: download start expired!
- Just this website has problem. The other website I’m downloading from are ok when open from Powershell.
- I noticed, when click download, this website will pop a new tab so quick and download the file. But when I open the macro from powershell, no window is popped. And on the other website, after clicking the button, it just download and no new tab show up.
This is:
- Windows 10
- Chrome 84
- RPA 5.9.5
Not sure if it’s a bug of RPA, mayber it’s the problem of the website. Thanks anyway.
Similar case:
[Reproducer Required] onDownload: Using, and an error