Selenium Installation and Setup Guide

(4.8)
1931 Viewers

Are you struggling with Selenium installation? If so, you've landed in the right place, where all your queries about Selenium and its installation will be resolved. This article covers in-depth information about Selenium, its features, and simple steps to install it. By the end of this article, you will gain a clear understanding of Selenium Installation and configuration.

Selenium Installation and Setup Guide
  • Blog Author:
    Viswanath V S
  • Last Updated:
    16 Aug 2026
  • Views:
    1931
  • Read Time:
    29:57 Minutes
  • Share:
Selenium Articles

When developing browser-based applications, it is important to test and validate user interactions with the application's services. However, testing such a large number of test cases manually is time-consuming.

That is where Selenium comes into the picture, helping us automate web browsers for testing. As an open-source framework, it enables users to automate browser testing of web elements in any application.

In this article, we will delve deep into Selenium, its features, and its installation on Windows. So, let us start without any delay..

Table of Contents

Overview of Selenium

Selenium is an automation tool for web browsers that can define scripts for actions and interactions with web components. The latest version of Selenium is 4.46.0, released in July 2026.

It supports multiple browsers, allowing us to validate our application across a wide range of test scenarios. It supports distributed browser allocation for scalability and the use of multiple browsers for flexibility.

As an open-source tool with a large community, it is one of the most efficient browser automation tools. Thus, it is important to understand Selenium's features before installing it on the Windows Platform.

If you would like to enrich your career in Selenium, then enroll in our "Selenium Certification Training". This course will help you to achieve excellence in this domain.

Capabilities of Selenium

Let’s learn the features of the latest Selenium version first.

  • Selenium IDE 4.5 updated the Selenium IDE browser extension to use the Chrome Manifest V3 (MV3) architecture. It works with the latest Chrome and Chromium-based browsers.
  • Selenium Manager is a built-in tool introduced in Selenium 4.6. It automatically manages browser drivers and binaries. This means you no longer need to manually download and set up drivers such as ChromeDriver and EdgeDriver.
  • Selenium provides Selenium Grid tools, allowing us to run tests in parallel across machines. This makes it a scalable automation tool.
  • We can use Selenium to test our application across multiple browsers, such as Chrome, Safari, Edge, and Firefox. We can also run tests across multiple browser versions.
  • Selenium provides an IDE that lets you record your actions and interactions, log them, and then play them back for more detailed analysis.
  • We can use Selenium as a single standard API to write test scripts across multiple browsers. Thus, you do not need to write multiple scripts for different browsers.
  • Selenium has an Action API (a low-level interface) that provides complete control over test cases for any application. We can construct virtualised inputs, chain them, and call the service to execute them all at once.

MindMajix Youtube Channel

How to Install and Configure Selenium WebDriver?

Let’s walk through the step-by-step procedure to install and configure Selenium WebDriver on Windows systems.

Prerequisites for Selenium Installation:

Since Selenium uses scripts to automate testing of web applications, you need to configure a client environment to write tests that simulate user interactions with web components. These scripts are language-specific and need to be installed and configured on your machine.

In this article, we use Java and the Eclipse IDE as the client to write test scripts. Therefore, you have to install Java and the Eclipse IDE on your Windows Platform before installing Selenium WebDriver.

Installing Java Software Development Kit (JDK)

First, install Java on your Windows system.

  • Go to the link below and download the latest version.

https://download.oracle.com/java/21/latest/jdk-21_windows-x64_bin.exe

  • Scroll down to the JDK 21 archives and click on the link to install the installer file for JDK 21.
Installing Java Software Development Kit

 

  • Navigate to the folder where the file is downloaded. Click on the executable installer file to start the installation. 
Installing Java Software Development Kit

 

  • Then, click on ‘Next.’
Installing Java Software Development Kit

 

  • The installation process starts as shown below.
Installing Java Software Development Kit

 

  • Once the installation is finished, close the wizard.
Installing Java Software Development Kit

 

  • Go to the bin folder for your JDK 21 directory on your system and copy its path as shown below:
Installing Java Software Development Kit

 

  • Now, you have to set the PATH variable in your system environment. 

  • Open the Control Panel, then go to the Advanced system settings, and click on the ‘Environment Variables’ as shown below.
Installing Java Software Development Kit

 

  • Under System Variables, select the ‘Path’ variable and click on the ‘Edit’ button.
Installing Java Software Development Kit

 

  • To set the PATH variable on the system, click on the ‘New’ option and add the location of the bin folder of the JDK installation to the PATH variable in System Variables as demonstrated below:
Installing Java Software Development Kit

 

  • Close the Advanced System Settings wizard.
  • Now, open the command prompt and run the command ‘java -version’ to verify the JDK installation on your Windows system as shown below.
Installing Java Software Development Kit

Install Eclipse IDE for Selenium:

Let’s install Eclipse on your Windows system.

Install Eclipse IDE for Selenium

 

  • Choose the ‘Select Another Mirror’ option and select the ‘Main eclipse.org downloads area’ option. After this, the setup file will be downloaded to your system.
Install Eclipse IDE for Selenium

 

  • Navigate to the folder where the setup file was downloaded, then click the file. 
Blog post image

 

  • The pop-up for the installation wizard appears as shown below. Choose the ‘Eclipse IDE for Java Developers’ as depicted below. 
Install Eclipse IDE for Selenium

 

  • Choose the folder location where you want to install the Eclipse IDE as shown below. After this, click on the Install button. 
Install Eclipse IDE for Selenium

 

  • After the installation is complete, the user agreement window will open; click the ‘Accept’ button at the bottom.
Install Eclipse IDE for Selenium

 

  • You will get the option to launch the Eclipse IDE on your screen as shown below.
Install Eclipse IDE for Selenium

 

  • Select the destination location where you want to launch the environment.
Install Eclipse IDE for Selenium

 

  • The Eclipse IDE screen appears as demonstrated below.
Blog post image

After installing Eclipse on our system, let us install Selenium WebDriver on our Windows System.\

[ Check out Selenium Project Ideas For Beginners ]

Installing Selenium WebDriver on Windows:

Installing Selenium WebDriver on Windows

 

  • Navigate to the folder where the zip file has been downloaded. Right-click on it and click on ‘Extract to selenium-java-4.46.0 '.
Installing Selenium WebDriver on Windows

 

  • The extracted files are shown below and contain the essential files.
Installing Selenium WebDriver on Windows

 

  • Now, launch the Eclipse workspace in your preferred folder as shown below.
Installing Selenium WebDriver on Windows

 

  • Hover on the ‘New’ option under the ‘File’ menu. Then, select ‘Project.’
Installing Selenium WebDriver on Windows

 

  • Select the Project type as ‘Java Project’ and click ‘Next.’
  • Add the desired project name and keep the settings as default. Then, click on the ‘Finish’ button to continue.
Installing Selenium WebDriver on Windows

 

  • Right-click on the newly created project to create a new package as shown below.
Installing Selenium WebDriver on Windows

 

  • Select the package name and continue by clicking on the ‘Finish’ button.
Installing Selenium WebDriver on Windows

 

  • Now, right-click the package we created in the previous step and select New > Class to create a new class, as shown.
Installing Selenium WebDriver on Windows

 

  • In the pop-up shown below, specify the class name as you prefer. Then, click on the ‘Finish’ button.
Installing Selenium WebDriver on Windows

 

  • Now, right-click on the Project and click on the ‘Properties’ option.
Installing Selenium WebDriver on Windows

 

  • The properties dialog box appears as shown below. Select the ‘Java Build Path’ option and then navigate to the ‘Libraries’ tab.
Installing Selenium WebDriver on Windows

 

  • Then press ‘CTRL+A’ to select all the files in the pop-up, as shown below.
Installing Selenium WebDriver on Windows

 

  • Continue by clicking on the ‘Apply and Close’ button.
Installing Selenium WebDriver on Windows

 

  • The Selenium WebDriver Libraries are visible in the Project. You can now use them by importing them into the project and writing the test script.

We hope that this tutorial has helped you to learn how to install Selenium on your system.

[ Also Learn Selenium WebDriver Interview Questions ]

Installing Selenium with the Python Package:

You can use the selenium package to automate web browser interactions from Python. The supported Python version is 3.10+, and supported browsers are Chrome, Edge, Firefox, Safari, and more.

The command below can be used to install and upgrade the Python bindings.

pip install -U selenium

You need to use a driver to interface Selenium with browsers. You can use Selenium Manager for this interface, as it supports many platforms and browsers.         

Docker-Selenium Grid Setup

You can use Docker to quickly set up Selenium Grid. That’s because the Selenium Docker images include all components, including Grid Hub and Chrome, Edge, and Firefox browser nodes, enabling easy management.

You can use Docker Compose to start a basic Selenium Grid.

options.addArguments(" -- headless=new");
options.addArguments(" -- window-size=1920,1080");
options.addArguments(" -- disable-dev-shm-usage");
options.addArguments(" -- no-sandbox");

The command below starts the grid.

docker-compose up -d

Headless Browser Setup:

Headless mode allows browsers to operate without a graphical user interface (GUI). It simplifies working with CI/CD pipelines, Docker containers, and cloud-based test execution. It speeds up execution, reduces resource consumption, and enables automated testing on servers without a desktop environment.

  • Chrome's new headless mode works differently from the old headless mode. 
  • Firefox also offers native headless execution without needing extra software. 
  • When running Selenium tests in Docker, GitHub Actions, GitLab CI, Jenkins, or other CI/CD platforms, consider adding the following Chrome options for better stability:
options.addArguments(" -- headless=new");
options.addArguments(" -- window-size=1920,1080");
options.addArguments(" -- disable-dev-shm-usage");
options.addArguments(" -- no-sandbox");

[ Check out Selenium Interview Questions and Answers ]

Frequently Asked Questions

1) Do I need to install ChromeDriver separately for Selenium 4?

Ans: No, you don’t need to install ChromeDriver separately for Selenium 4. That’s because Selenium Manager can automatically download, manage, and update the right browser driver for your browser.

2) Which is the latest version of Selenium?

Ans: As of July 2026, the latest stable version of Selenium is 4.46.0. It was released on July 11, 2026.

3) How can I install Selenium in Python?

Ans: 

  1. First, install Python
  2. Then, install Selenium
  3. Verify the installation
  4. Install a browser
  5. Check the Selenium version

4) Is Firebug still available?

Ans: No. Firebug is no longer available. Rather, you can use browser DevTools. However, DevTools will be replaced by BiDirectional webdriver (BiDi) in the upcoming Selenium 5 series. This BiDi will offer parity across browsers for the network, script, log, and input modules.

5) Does Selenium support Internet Explorer?

Ans: No, Selenium no longer supports Internet Explorer, as Microsoft has deprecated the browser and now uses Edge instead.

6) When should I choose the Selenium Grid for Test Cases?

Ans: Selenium Grid is used for concurrent testing of applications. It means you use it to run parallel tests across multiple machines and browsers. This feature is very useful for saving time that would otherwise be spent separately testing the application across different browsers.

7) What is BiDirectional Functionality in Selenium WebDriver?

Ans: Selenium BiDirectional Functionality is a new feature that allows users to implement advanced actions, such as executing JavaScript commands, intercepting network requests, and handling browser events in real time. It provides a cross-browser API for testing user interaction in web browsers.

8) What is Selenium IDE?

Ans: It is a browser extension that records the user’s actions in the browser according to the specified parameters using existing Selenium commands. It is used for invoking record and playback features in Selenium.

9) How to run Selenium from the command line using the Java Client?

Ans: You can use the package ‘org.openqa.selenium.cli’ to configure and run Selenium using the command line interface. It provides various classes and interfaces such as ‘CliCommand,’ ‘CliCommand.Executable,’ and ‘WrappedPrintWriter’ for this purpose.

10) What is a Locator in Selenium WebDriver?

Ans: We can use locators to identify elements in the DOM (Document Object Model). Selenium provides various locators, such as ID Locator, Name Locator, Class Name Locator, Tag Name Locator, Link Text Locator, Partial Link Text Locator, XPath Locator, CSS Selector, and XPath with Index Locator, to find elements on a webpage.

Conclusion:

Selenium has proven to be a wonderful tool for automating the testing of browser-based applications. It provides a standard API along with Drivers, frameworks, and external libraries. We can run the specific browser drivers available in Selenium on the same system to simulate user interactions.

It simplifies browser automation testing, enabling rapidly changing web-based technologies to be easily adapted for development. After successfully installing Selenium on our system, we can easily write test scripts for web browsers.

logoOn-Job Support Service

Online Work Support for your on-job roles.

jobservice
@Learner@SME

Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:

  • Pay Per Hour
  • Pay Per Week
  • Monthly
Learn MoreContact us
Course Schedule
NameDates
Selenium Training Aug 22 to Sep 06View Details
Selenium Training Aug 25 to Sep 09View Details
Selenium Training Aug 29 to Sep 13View Details
Selenium Training Sep 01 to Sep 16View Details
Last updated: 16 Aug 2026
About Author

Viswanath is a passionate content writer of Mindmajix. He has expertise in Trending Domains like Data Science, Artificial Intelligence, Machine Learning, Blockchain, etc. His articles help the learners to get insights about the Domain. You can reach him on Linkedin

read less