How to setup your Intellj IDEA project for Selenium web driver

2 min readJan 7, 2021

This peace of writing will help you to understand the basic steps to follow when you are setting up an Intellj project to write selenium code.

Pre requisites

You need to configure your IDE with support of selenium. for demonstration purpose I am using Intellj IDEA community 2020.3

Setting up the Project

  1. create a maven project
  2. Pick any name for the project and finish it.
  3. Open the pom.xml in the project
  4. Include additional libraries that we will use in the project. These information includes in the Dependencies section of the pom.xml
sample pom.xml file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns=""





Post Requisites

Once you done with the pom.xml ,please execute below two steps to verify the addition of external libraries.

  1. Click on the external Libraries section of the Maven project. You should be able to see downloading libraries start with M in the following image.
External libraries

2. Make sure you have download the latest version of these libraries in order to avoid the future conflicts.

Now you have completed the process of setting up your project to support selenium web driver.