selenium java installation code example
Example: how to download in selenium
Selenium itself cannot verify file downloads, can click on download link
but can't go outside the browser and open the downloaded file
Other tools need to be used for that Robot and AutoIT