(Selenium) How to check if a download of a specific file has been started?

I want to check if some action actually causes the download of a file (a), and (b) with a file that has a specific name.

Can Selenium be used for this?

+2


source to share


1 answer


The current version of Selenium runs in a JavaScript sandbox, so it cannot handle things outside of the page like file uploads, file uploads, etc.



You may find that WebDriver (coming soon for Selenium 2.0) supports loading as it is not limited to JavaScript in the same way as Selenium 1.0. See http://code.google.com/p/selenium/wiki/GettingStarted for details .

+3


source







All Articles