The easiest way to download files using WebDriver is to use Wget. WebDriver cannot automate downloading of files on its own. How To Download & Upload Files Using Selenium With Java, As far as I know there is no easy way to make Selenium download files because browsers use native dialogs for it which cannot be controlled by JavaScript, Uploading files in WebDriver is done by simply using the sendKeys() method on the file-select input field to enter the path to the file to be uploaded. Download latest released version for Chrome or for Firefox or view the Release Notes. Use this to either create simple scripts or assist in exploratory testing. Selenium IDE is a Chrome and Firefox plugin which records and plays back user interactions with the browser. Whilst it is possible to start a download by clicking a link with a browser under Selenium's control, the API does not expose download progress, Selenium IDE.
File downloads :: Documentation for Selenium, File downloads.