Selenium cannot handle the save field, but a third-party utility, AutoIt , can. What we do is that our test code uses selenium commands to click the download link, and then execute the compiled AutoIt script file to save the file to disk.
source
share