Use the Selenium driver as a Maven task

You will need to include the following plugin in your pom.xml :


The plugin will launch all tests defined within the test repository of your Maven project.

For example, the command below only launches the test classes that end with "PerformanceTest":

mvn -Dnl.selenium.proxy.mode=Design[host]:7400/Design/v1/Service.svc/ -Dtest=*PerformanceTest clean test

Find more information on the Maven surefire plugin.