WebDriver Binary Downloader automatically downloads and configures the latest driver binaries needed for Selenium Web Driver tests, without any need for explicit configuration.
- Always have the latest driver binaries as soon as its released.
- No configuration needed.
- Windows, MacOS and Linux supported (32 bit and 64 bit)
- Auto configured driver binary path for Selenium Web Driver tests.
- Latest driver binaries are automatically downloaded and unpacked.
- Older driver binaries can be automatically downloaded and unpacked.
- All driver binaries are cached for quicker configuration.
- Java 8
Repository: jcenter
<repositories> <repository> <id>jcenter</id> <url>https://jcenter.bintray.com/</url> </repository> </repositories> <dependency> <groupId>io.github.prashant-ramcharan</groupId> <artifactId>webdriver-binary-downloader</artifactId> <version>1.3.0</version> </dependency>repositories { jcenter() } compile 'io.github.prashant-ramcharan:webdriver-binary-downloader:1.3.0'- commons-io 2.6
- ChromeDriver
- GeckoDriver
- IEDriver
Download the latest binary
WebDriverBinaryDownloader.create().downloadLatestBinaryAndConfigure(Browser.CHROME); WebDriverBinaryDownloader.create().downloadLatestBinaryAndConfigure(Browser.FIREFOX); WebDriverBinaryDownloader.create().downloadLatestBinaryAndConfigure(Browser.IEXPLORER);Download an older binary
WebDriverBinaryDownloader.create().downloadBinaryAndConfigure(Browser.CHROME, "2.35");Download a binary for a specific architecture
WebDriverBinaryDownloader.create().downloadLatestBinaryAndConfigure(Browser.IEXPLORER, TargetArch.X86);Once a binary is downloaded for a specific release, it will remain cached unless its manually deleted.
Use the strictDownload() method to ensure a new copy is downloaded.
WebDriverBinaryDownloader.create().strictDownload().downloadLatestBinaryAndConfigure(Browser.CHROME);For any issues or requests, please submit here