How To Download And Install Selenium WebDriver (2020)

Before going through how to install Selenium WebDriver. Let’s look into in the pre-requisities we need to install Selenium WebDriver.

We need to have the following
i. Mozilla Firefox
ii. Active Internet Connection

Must read: Selenium Tutorial

Download Selenium and Install Selenium WebDriver

Follow the below steps to complete the installation.

Step 1: Download and Install JAVA
Step 2: Download and Install Eclipse
Step 3: Download and Install FireBug
Step 4: Download and Install FirePath
Step 5: Download Selenium WebDriver

Here is the latest video on “Install Selenium WebDriver – 2018”

Java version – 10.0.1
Eclipse – Photon
Selenium WebDriver – 3.13.0

Please be patient. The video will load in some time.

Step 1: Download and Install JAVA

Check below video to see “How To Install Java”

Go to the below mentioned link and download latest version of JAVA or click here

Install Java - Click JDK Download

Accept the license agreement and choose the right ‘JDK’ file to download based on your system requirement.

Install Java - Accept License Aggrement

Once downloaded. Go ahead and verify the Java version. To do this, open command prompt and type “java -version” and hit enter

Install Java - Verify Java Version

Step 2: Download and Install Eclipse

Go to the following link to download eclipse

Download the appropriate file based on your system requirement

Install Eclipse - Download Eclipse

Download ‘Eclipse IDE for Java Developers’

Install Eclipse - Download Eclipse IDE For Java Developers

Extract the eclipse file which you have downloaded

Install Eclipse - Extract Eclipse File

Right click on ‘eclipse.exe’ and run it as ‘Run as administrator’

Install Eclipse - Run As Admin

Choose specified path to create ‘workspace’ by using ‘Browse’ button.

Install Eclipse - Choose Workspace

You could create Java Projects, Packages and Classes in Java Eclipse.

Install Eclipse - Eclipse API

Step 3. Download and Install FireBug

Go to the link mentioned below to install Fire Bug

Click on Add to Firefox button

Install Fire Bug - Click on Add to Firefox

Click on Install button

Install Fire Bug - Click on Install

Now you could see Fire Bug by navigating through

Tools – Web Developer – Firebug – Open Firebug (or) use shortcut key ‘F12’

Install Fire Bug - Go To Menu Tools WebDeveloper FireBug

Install Fire Bug - Shortcut F 12

Step 4: Download and Install FirePath

Go to the link mentioned below to install Fire Path

Click on Add to Firefox button

Install Fire Path - Click Download Now

Click on Install button

Install Fire Path - Click Install

Click on Restart Now

Install Fire Path - Click Restart Now

Now you could see Fire Path by navigating through

Tools – Web Developer – Firebug – Open Firebug (or) use shortcut key ‘F12’

Install Fire Path - Shortcut F 12

You could find the ‘XPath’ by using ‘FirePath’ as shown below

Install Fire Path - Go To Menu Tools WebDeveloper FireBug Open FireBug
Step 5: Download and Install Selenium WebDriver

Go to the following link to download latest Selenium Java jars (latest Selenium WebDriver jars).

Install Selenium WebDriver - Download Java Version

Extract the Selenium file

Install Selenium WebDriver - Extract File

Open Eclipse and Create Java Project:

File – New – Java Project

Install Selenium WebDriver - Create Java Project

Add project name and click on Next followed by Finish.

Install Selenium WebDriver - Create Java Project

Create a Package:

Right click on the project you have created and select New – Package

Install Selenium WebDriver - Create Package

Enter name of the package and click on Finish

Install Selenium WebDriver - Create Package

Right click on the project you have created and select New – Class

Install Selenium WebDriver - Create Class

Enter name of the class and click on Finish

Install Selenium WebDriver - Create Class

Now right click on the newly created project and select ‘Properties’ – ‘Java Build Path’

Install Selenium WebDriver - Configure Build Path

Select Libraries Tab and click on ‘Add External Jars’

Install Selenium WebDriver - Add External Jars

Select all the jars files as shown in the below images and click on Open

Install Selenium WebDriver - Add External Jars

install-selenium-webdriver-12

Install Selenium WebDriver - Add External Jars

Install Selenium WebDriver - Add External Jars

Now you could start your first Selenium WebDriver Program.

You may like the following posts.

Install Selenium WebDriver

Rajkumar SM is a founder of SoftwareTestingMaterial. He is a certified Software Test Engineer by profession and blogger & youtuber by choice. He has an extensive experience in the field of Software Testing. He writes here about Software Testing which includes both Manual and Automation Testing. He loves to be with his wife and cute little kid 'Freedom'.

Leave a Comment

Share via
Copy link
Powered by Social Snap