Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

Selenium Setup Installation Guide

Introduction : This document will provide an overview of the installation process of Selenium webdriver
using Java and eclipse.

● Step 1 : Install Java Software Development Kit (JDK) :

a) Install JDK in your computer (if not present already) by navigating the below
link and click on download.

Link: https://www.oracle.com/technetwork/java/javase/downloads/index.html

b) Accept the license agreement by clicking the Accept license Agreement radio
button and choose the Java version according to the OS version of your
computer.
c) This JDK version comes bundled with Java Runtime Environment (JRE), so
you do not need to download and install the JRE separately.

Once installation is complete, open command prompt and type “java


-version”. If you see the following screen you are good to move to the next
step

Step 2 : Set up environment variable :

Navigate to control panel-->System-->Edit environment variables for your account

Create two new environment variables JAVA_HOME (the value should be the path of JDK) and
JAVA_PATH(The path of bin folder under JDK).
Step 3 : Install eclipse :

a) Download Eclipse IDE for Java Developers with correct windows version according to your
computer.

Link : https://www.eclipse.org/downloads/

b) The eclipse installer will get downloaded.


c) Run the exe file, the below window should open. Select the option “Eclipse IDE for Java
Developers”

d) Select the installation folder and click on install

e) Click on launch

f) Select the path of the workspace and click on launch :


g) Eclipse IDE should open

Step 4 : Import Java Client Driver for Selenium in project:


download the Selenium Java Client Driver from the below link :
https://www.seleniumhq.org/download/

Step 5 : Download Internet Explorer Driver Server and Google Chrome Driver Server:

To run the automation test scripts using selenium webdriver in IE or chrome, you need IE driver server
and google chrome driver server placed in machine.

Link : https://www.seleniumhq.org/download/

IE Driver Server :
Chrome Driver Server :

You might also like