开发者

How do we download a file by using Selenium? [closed]

开发者 https://www.devze.com 2023-01-15 19:46 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help c开发
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help c开发者_运维技巧larifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

How do we download a file by using Selenium?


Selenium doesn't recognize windows based components and hence would not interact with "Save As" dialog boxes. To do that you need to use a 3rd party tool that would handle these dialog boxes. I would suggest using AutoIt. Its a free script writing tool and will handle all the dialog boxes. For more info, visit http://qtp-help.blogspot.com/2009/07/selenium-handle-dialogs.html

Let me know if you are looking for something else.

Regards,
Vamyip

0

精彩评论

暂无评论...
验证码 换一张
取 消