Selenium maven build for Continuous Integration-CI

Today we will discuss integrate selenium maven build and how to create maven build for continuous integration . Check Jenkins section to know more about CI.

To create maven build we should have maven installed in our machine so let us start setting up maven.

Steps for selenium maven build creation

Module 1- Install Maven in local machine.


1- Navigate to Maven official site and download stable version of Maven.

Maven Download- https://maven.apache.org/download.cgi



2 – Unzip the download file and Check unzip folder – in our case folder name- apache-maven-3.3.1



3- This is maven home directory and now we have to set path for the same


4- To set path variable- Right Click on my computer and Select property.



5- Now we need to set path variable also for System variable.



Note- Please do not touch other variable, Go to last point use ; and then enter path till bin folder.

6- Click on save and apply. You can verify now that Maven is installed or not.

Open command prompt and type
mvn -version
7- If Maven is installed properly then you will get Maven version and Java version on Console.