• Articles
  • Tutorials
  • Interview Questions

A Step-by-Step Instructions on How to Install Selenium

Selenium Environment Setup

Installing Selenium requires going through the following steps:
Step 1: Install Java
Before moving further download and install Java Software Development Kit (JDK) in the first place. The location from where you can download Java is:
Download Java JDK

Step 2: Install Eclipse IDE
Next, download and install Eclipse IDE for Java developers keeping in mind the 32 or 64-bit windows versions.
The location to download this exe file is:
https://www.eclipse.org/downloads/
The downloaded file will be with the name “eclipse-inst-win64”. Now double click on the file to install it on your system. A new window will appear with several options like this :
Install Eclipse IDE
Click the first option named Eclipse IDE for Java Developers. A new window will appear where you need to change the storage path to:
“c:\eclipse” and Install.
Step 2 Install Eclipse IDE

Get 100% Hike!

Master Most in Demand Skills Now!


Step 3: Download Selenium Java Client Driver
Now download Selenium Java Client Driver. The location to download this tool is
Selenium Java Client Driver
Here you will find the drivers for all the languages but install them for Java only. The drivers come in zipped files containing all the JAR files. There will be two JAR files, a lib folder, and one changelog file. Create a new folder and rename it as ‘Selenium’ in C drive and extract the zip file to this file.

Step 4: Configure Eclipse IDE
After completing the previous step a dialog box will open asking to choose a workspace. select the default location.
Step 4 Configure Eclipse IDEOr create a workspace in C drive and confirm it by pressing OK.

Step 5: Create a new Java Project
Click on the File menu, then go to New and select Java Project. Save the project as ‘new project’.
Step 5 Create a new Java Project

Step 6: Create a new Java Class
In order to create a new Java Class, click on File Menu and go to New and save it as ‘Myclass’.
Step 6 Create a new Java Class
Now right click on the newproject and go to select properties. There click on “Java Build Path”. Click on the ‘Libraries’ tab and then ‘Add External JARs’. ow select the JAR files you need from the new pop-up window and select ‘OK’. Add all the JAR files that are inside and outside the “libs” folder. Now click Ok to finish importing the library files. We can also integrate Selenium IDE with different web search engines to automate our testing process.

Become a Test Architect

Course Schedule

Name Date Details
Selenium Course 14 Dec 2024(Sat-Sun) Weekend Batch View Details
21 Dec 2024(Sat-Sun) Weekend Batch
28 Dec 2024(Sat-Sun) Weekend Batch

About the Author

Senior Associate - Automation and Testing

Akshay Shukla, a senior associate at a multinational company, is an experienced professional with a rich background in cloud computing and software testing. He is proficient in frameworks like Selenium and tools like Cucumber. He also specialises in Test-Driven Development and Behavior-Driven Development.