Integrate selenium with maven
Habtamu Petros
Last Update hace 3 años
Maven is a software project management and comprehension tool. It is formally known as the Build tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a central piece of information that is called Central repository. Maven has its own repository that keeps all plugins, jars, etc., commonplace in .m2 repository.
Follow the below steps to integrate selenium with maven
Step 1 - Open any browser and Copy the below URL to download Eclipse
Step 2 - Open Eclipse, go to the help section and click on install new software.

Step 3 – Now enter the URL that we copied from the Eclipse site and follow the below steps.

Step 4 – Now select the Maven check box and click next and accept the agreement and finish.
Step 5 – Installation will take some time and it may be asked to restart the eclipse. After the restart, you can create Maven projects.
Step 6 - Open Eclipse then go to File then Click on New and select general project

Step 7– Now here you will get so many categories so from General Select Maven then Maven Project.

Step 8 – Now click on create a simple project checkbox and click on the Next button. Please enter Group id (depends on you I have taken selenium.maven) and Artifact ID > Next

Step 9 - Click Finish and wait for some time for project creation. Once the project is created you can see the maven project in the left project explorer.
Step 10 – Click on pom.xml and click on the Source tab you will get the source code of pom.xml


