Is there a way to click on the Save or Open button in the pop up that appears while downloading a file in IE 11? I am using Robot Framework AutoIt Library. I can handle the windows that comes subsequent after clicking the Save or Save As option.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
What kind of file are you downloading? Depending on the file type you should be able to set a default behaviour in IE11.
Personally I think AutoIT solutions with this are overkill, I'd recommend looking at the following blog post for alternative ideas if possible:
https://blog.codecentric.de/en/2010/07/file-downloads-with-selenium-mission-impossible/
However, if this is a scenario you simply MUST automate as you're doing then my first line should help you.