0% found this document useful (0 votes)
77 views

Selenium - Setup in Nutshell

This 3 sentence summary provides the key steps for installing Selenium webdriver using Java and Eclipse: Step 1 involves installing the Java JDK, Step 2 setting up environment variables for JAVA_HOME and JAVA_PATH, and Step 3 downloads and installs Eclipse IDE. Step 4 imports the Selenium Java client driver into a project in Eclipse. The final Step 5 involves downloading the IE and Chrome drivers to run tests in those browsers using Selenium.

Uploaded by

payel pal
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views

Selenium - Setup in Nutshell

This 3 sentence summary provides the key steps for installing Selenium webdriver using Java and Eclipse: Step 1 involves installing the Java JDK, Step 2 setting up environment variables for JAVA_HOME and JAVA_PATH, and Step 3 downloads and installs Eclipse IDE. Step 4 imports the Selenium Java client driver into a project in Eclipse. The final Step 5 involves downloading the IE and Chrome drivers to run tests in those browsers using Selenium.

Uploaded by

payel pal
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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