How to Download EdgeDriver for Selenium (Step-by-Step Guide)

Last updated on December 16th, 2025 at 04:05 am

This guide will show you how to download EdgeDriver (Latest version) and set up for Selenium WebDriver. You’ll learn how to match EdgeDriver with your Microsoft Edge browser version and configure it to run automated tests successfully.

You need EdgeDriver to run Selenium tests in the Microsoft Edge browser. It lets Selenium WebDriver interact with MS Edge browser just like a real user.

Many teams use EdgeDriver as part of enterprise test automation setups and cloud based cross browser testing tools to validate applications across different environments.

Here is a step-by-step guide to download, install, and set up the right version of EdgeDriver.

Step 1: Check Your Microsoft Edge Version

Before downloading EdgeDriver, you must check your Edge browser version.

Here’s how to check:

  • Open Microsoft Edge.
  • Click the three dots (⋮) at the top right corner, select Help and Feedback, and select About Microsoft Edge. My version is 142.0.3595.65.
  • Update if you are using an older version. Note the version number (e.g., 142.x.x.x).
Check microsoft edge browser version

Why does this matter?

Many people keep complaining that the edge driver is not working in Selenium. The reason is that EdgeDriver version updates with a version of the Edge browser, and a mismatch in versions can generate errors when you run Selenium tests.

Version compatibility becomes even more critical when running tests in CI CD pipelines, Selenium cloud testing platforms, or automated software testing services used by large QA teams.

Now let’s see how to download the correct version of EdgeDriver.

Are you looking to run Selenium tests in the Firefox browser? Here is a step-by-step guide on how to download and set up GeckoDriver for Selenium.

Step 2: Download EdgeDriver For Selenium WebDriver

To download EdgeDriver, follow these simple steps:

  • Go to the official Microsoft Edge WebDriver page.
  • As per your Edge browser version and OS, download the corresponding EdgeDriver from the stable channel.
  • The latest stable version of the Edge driver is 142.0.3595.65.

Using the correct EdgeDriver version is especially important when integrating Selenium with cloud test automation platforms that support parallel and cross-browser testing.

Download Edge Driver

Now let’s see how to set up the edge driver.

Step 3: Extract and Set Up EdgeDriver

Once downloaded, you need to extract the ZIP file.

  • Extract the EdgeDriver ZIP file to a location like D:WebDriver
  • Inside the folder, you’ll find msedgedriver.exe.

But to run EdgeDriver in your Selenium tests, you must add it to the PATH system.

Here’s how:

  • Search for Environment Variables in Windows.
  • Under System Variables, find Path and click Edit.
  • Click New, then paste your folder path (e.g., D:WebDriver).
  • Click OK and restart your computer.

Now, EdgeDriver is ready to run.

Proper driver setup helps avoid failures when Edge tests are executed on enterprise QA automation tools or remote cross-browser testing services.

If you’re new to Selenium, you may want to read our beginner-friendly Selenium tutorial to learn how to set up Java, Eclipse, and WebDriver from scratch.

Step 4: Run EdgeDriver with Selenium

To make sure EdgeDriver is working, let’s write a quick Selenium test script. Use the given edge driver setup code in your Selenium test and run it.

Example of Microsoft Edge Driver in Selenium

// Set the path to EdgeDriver (only needed if it's not in system PATH)
System.setProperty("webdriver.edge.driver", "D:\WebDriver\msedgedriver.exe");

// Initialize EdgeDriver
WebDriver driver = new EdgeDriver();

This example script will help you run the Selenium test on the Microsoft Edge browser. Now, you can:

Open Edge automatically when running the Selenium test.
Navigate to websites.
Extract page titles & interact with web elements.

The same EdgeDriver configuration is commonly used in cloud based Selenium testing, enterprise automation frameworks, and CI CD driven test execution.

Tip: Always use the latest Selenium version and update EdgeDriver whenever the Edge browser’s version updates.

In modern QA workflows, Selenium tests with EdgeDriver are often executed using cloud test automation tools to reduce infrastructure cost and improve test coverage across multiple browser versions.

author avatar
Aravind QA Automation Engineer & Technical Blogger
Aravind is a QA Automation Engineer and technical blogger specializing in Playwright, Selenium, and AI in software testing. He shares practical tutorials to help QA professionals improve their automation skills.
[noptin form=5653]

Leave a Reply

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