Basic setup / installation of Selenium Webdriver


Note: For the entire discussion of selenium topics on this blog, we will be using Java language.

Basic setup of selenium webdriver needs the following items –

JDK – Java developement kit:

Download and install latest from here,

Note: Click on the icon (Java Platform (JDK) xxxx) and follow the agreement procedure,  then choose right file for your OS and processor configuration (32 or 64 bit).

To check if java is installed or not on your system, open command prompt and
type -> java -version
should see this:

Eclipse IDE:

Download the archive (zip or tar file) from here.

Note: There are different eclipse types like luna, kepler, juno etc have almost same functionality for selenium java programming.

For platforms other than windows, click here.

Selenium Jar files:

selenium Client and Webdriver language bindings

Download the archive (zip or tar file) from here.

Scroll down on the page to get the download link as shown below –

Note: Extract the file to get all .jar files, required for the setup.


As we know Selenium supports the automation on almost all the browsers (may not be readily support for newly launched browsers),

For htmlUnit and firefox, selenium doesn’t need drivers.

But for rest of browsers like Chrome, Opera, Safari, IE etc, we need different drivers respectively and can be downloded from here.

Environmental setup: (For windows)

Right click on ‘My Computer’ properties, click on the ‘Advanced system settings’, click on ‘Environmental Variables’, Add/edit the variables of ‘System variables’ section in the following manner:

PATH = installed path of java bin folder

CLASS = installed path of java lib folder

e.g: PATH =  C:\Program Files\Java\jdk\1.8.0_05\bin

Note: when you edit any variable value, make sure to append the path with a colon(;) instead of overriding the existing content.

Content posted is based on learning or working experience, Share the post with others if find useful, Any queries?, leave comments or discuss on our, Thanks!

2 Responses

  1. June 7, 2016

    […] refer selenium webDriver setup [Above link describes, selenium with eclipse […]

  2. June 9, 2016

    […] related jar files [follow webdriver setup to […]

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: