Better way to add PhantomJS binary to a maven project?
问题 I tried using the phantomjs-maven-plugin to install phantomjs binary. I wanted to run my tests on a Tomcat7 server that is why I need to configure binary automatically. Here is my pom.xml <properties> <ghostdriver.version>1.2.0</ghostdriver.version> <phantomjs.version>1.9.7</phantomjs.version> <phantomjs-maven-plugin.version>0.7</phantomjs-maven-plugin.version> </properties> <dependencies> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <version