Download Edge Browser Driver For Selenium

selenium edgedriver Issue with Microsoft’s Edge version’s

Introduction

Selenium is an open-source tool that automates web browsers. It is widely used to test web applications, fill out forms, and simulate user actions. To use Selenium with Microsoft Edge, you need to download the Edge browser driver. This article will guide you through the process of downloading the Edge browser driver for Selenium.

Step 1: Check Your Edge Browser Version

Before downloading the Edge browser driver, you need to know the version of your Edge browser. To check the version of your Edge browser, follow these steps:

1. Open Microsoft Edge.

2. Click on the three dots in the top-right corner of the browser window.

3. Select “Settings” from the dropdown menu.

4. Scroll down and click on “About Microsoft Edge.”

Example

Edge browser version

Step 2: Download the Edge Browser Driver

After you have determined the version of your Edge browser, you can download the appropriate Edge browser driver from the Microsoft website. Follow these steps:

1. Go to the Microsoft Edge WebDriver download page: https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/

2. Select the version of the Edge browser that you are using.

3. Click on the download link to download the Edge browser driver.

Example

Edge browser driver

Step 3: Set the Path to the Edge Browser Driver

After you have downloaded the Edge browser driver, you need to set the path to the driver in your Selenium script. To set the path to the Edge browser driver, use the following code:

System.setProperty(“webdriver.edge.driver”, “C:\path\to\MicrosoftWebDriver.exe”);

Replace “C:\path\to\MicrosoftWebDriver.exe” with the path to the Edge browser driver on your computer.

Conclusion

Downloading the Edge browser driver for Selenium is a simple process that can be done in a few steps. By following the steps outlined in this article, you can easily download the Edge browser driver and use it in your Selenium scripts. Happy testing!