selenium webdriver download code example
Example 1: what is webdriver in selenium
WebDriver:
WebDriver object represents the browser in Selenium.
Using this object you can control the Web browser.
It is an interface of the org.openqa.selenium.* package.
Upon instantiating the implementations of this class
the browser will be launched.
FirefoxDrive, ChromeDriver,
InternetExplorerDriver, SafariDriver, OperaDriver,
HtmlUnitDriver, RemoteWebDriver are few
implementations of the WebDriver Interface.
Example 2: downloading 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