The initial stable release of the driver-binary-downloader-maven-plugin has been released. This brings in the following changes:
- Improved the performance of the unzip code (things are much quicker now).
- Only download binaries for the current OS (note more pulling down windows binaries on your linux box).
- PhantomJS support so that you can get GhostDriver(PhantomJSDriver) up and running with minimal effort.
To use it is very simple, just add the following to your POM:
<plugins> <plugin> <groupId>com.lazerycode.selenium</groupId> <artifactId>driver-binary-downloader-maven-plugin</artifactId> <version>1.0.0</version> <configuration> <!-- root directory that downloaded driver binaries will be stored in --> <rootStandaloneServerDirectory>/my/location/binaries</rootStandaloneServerDirectory> <!-- Where you want to store downloaded zip files --> <downloadedZipFileDirectory>/my/location/zips</downloadedZipFileDirectory> </configuration> <executions> <execution> <goals> <goal>selenium</goal> </goals> </execution> </executions> </plugin> </plugins>