How do I run a Selenium script using Maven?
Create a Maven project with adding Java,Selenium and TestNG Dependecies . Now Add your Test Classes in to testSuite XML file and you can use Maven Surefire Plugin to run testSuite xml file from this command mvn clean test