

Step 7: Follow below steps to create a Selenium Project in Eclipse IDE:Ī) File –> New –> Java Project. Step 6: Download latest version of Eclipse IDE for j2ee developers (32 or 64 bits depending upon your Operating System). Note: To download some older version of Selenium follow this link Configuring Eclipse IDE: Step 5: Extract the above zip file, copy the srcs and standalone file to libs folder (Create a libs folder in your workspace). Step 4: Download latest version of webDriver Java language bindings ( file 1 – selenium-server-2.xx.x.zip file and file 2 – Selenium-standalone-2.xx.x.jar).Ī) To download file 1 go to Selenium Client & WebDriver Language Bindings section and choose Java option.ī) To download file 2 go to Selenium Standalone Server section. Importing Selenium WebDriver Java Bindings: In path variable of the System variables –> add a value %JAVA_HOME%\bin. Step 3: Update “path” environment variable to the bin folder of JDK location. Right Click “This PC”–> Properties –>Advanced system settings –> Environment variables –> System Variables –> Add a variable “JAVA_HOME” and update it with path of JDK installation directory. Step2: Create environment variable by name “JAVA_HOME” and set this variable value to JDK installation location. Download the JDK.Ĭ) Install JDK by clicking next multiple times. Step1: Download and install the latest version of JDK (Java development kit) with JRE (Java runtime environment) (32 bit or 64 bit ) depending upon your operating system(Mac, Windows or Linux) operating system.Ī) Select JDK download from the below options (it includes JRE).ī) Accept the License Agreement and Select the JDK version depending upon your Operating System. Steps include downloading and installing Java, downloading and installing Eclipse IDE, downloading Selenium Jar files and configuring them in Eclipse.

Selenium WebDriver is not a GUI tool, with Java programming language you have to download JAR (Java archive resource) files. This tutorial is a step by step guide where we will learn to setup environment for Selenium WebDriver with Java.
