开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜