How can I download Microsoft WebDriver/Edge Driver to use with Selenium?

0 votes
How can I download Microsoft WebDriver/Edge Driver to use with Selenium?
Jul 15, 2019 in Selenium by William
8,643 views

1 answer to this question.

0 votes

Hi William, to download Microsoft Webdriver or Edge driver, you first need to check following basic requirements to run Egde driver with selenium:

  • Windows 10 installed on your machine
  • Correct Microsoft WebDriver server version
  • Latest version of Selenium Webdriver

Now, you can follow these steps to download the Microsoft webdriver:

  1. First check the version of your OS build. Based on your OS version build, you have to download the corresponding Edge driver. To check OS Build go to Start > Settings > System > About. In my case, OS version build is 17134.
  2. Open Microsoft Edge Webdriver page using this link – https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/
  3. Click on Downloads and from the list of different versions of Edge drivers, download the latest one or as per your requirement.
  4. This will download the msi file. Select all default details while installing the msi file. Note down the location where the driver will be installed. This will be displayed in the window shown in the below image:
  5. Once the installation is complete, go to the folder path to check that webdriver is properly installed.
answered Jul 15, 2019 by Abha
• 27,910 points
Hi Team

i am automate edge browser my edge browser getting launched but url not launched

thanks

praveen raj
Hi Praveen Raj,

How did you manage to open even the Edge Browser? i am trying with PHP.

Hey Praveen raj,

This kind of error will occur if, your Edge driver version isn't similar to the OS build number. So, You would need to download the correct version of Edge Driver based on the OS build number.

Hey Chak,

You can look into this https://www.edureka.co/community/51926/how-to-launch-edge-browser-with-selenium-webdriver. I hope this will help you with your query. 

And if you have anything else related just put them into the community forum.

Hey ggm,

I am asking for the legacy Microsoft Edge version (Edge 44 & HTML 18) using the Microsoft Web Driver.

Hi,

Okay, so there is a method-  webdriver.edge.driver system property

When you use the method, you need to add one line of code to your test script to use MicrosoftWebDriver. You need to add System.setProperty code in your script. It is shown below:

System.setProperty("webdriver.edge.driver","C:\\Program Files (x86)\\Microsoft Web Driver\\MicrosoftWebDriver.exe"); //put actual location
WebDriver driver = new EdgeDriver();
driver.get("your link");

Run this script and you will see that a new Edge Browser is opened and your link page is loaded in the browser. This verifies that the webdriver.edge.driver system property is working fine.

what else need to do for mac machine

Hi, @Pandiya,

Do you want to download Microsoft Webdriver or Edge driver in your Mac system?

Related Questions In Selenium

0 votes
1 answer

How can I use HTML Unit Driver as a headless browser with Selenium?

Hello @Nishant, follow these steps to use ...READ MORE

answered May 17, 2019 in Selenium by Anvi
• 14,050 points
1,536 views
0 votes
1 answer

How can I download the *.jar file from http:// seleniumhq.org using selenium WebDriver?

For Selenium Standalone Server use this: profile.setPreference("browser.helperApps.neverAsk.saveToDisk", "application/java-archive"); and ...READ MORE

answered Apr 9, 2018 in Selenium by Martin
• 4,330 points
1,088 views
0 votes
1 answer

How to add Junit library in Eclipse to use with Selenium Webdriver?

Hi Jacky, to add JUnit library in ...READ MORE

answered Jun 11, 2019 in Selenium by Anvi
• 14,050 points
122 views
0 votes
1 answer

How can I send some data to a Prompt Alert box using Selenium Webdriver?

Hey Abhishek, you can use sendKeys() method ...READ MORE

answered Jul 2, 2019 in Selenium by Abha
• 27,910 points
1,610 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,510 points
2,915 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,890 points
2,242 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,890 points
2,378 views
0 votes
1 answer

How can I add Cucumber Jar files in Eclipse to use with Selenium Webdriver?

Hey Eshan, follow these steps to add ...READ MORE

answered May 22, 2019 in Selenium by Abha
• 27,910 points
1,143 views
0 votes
1 answer

How can I perform mouse hover to a web element with ruby and selenium webdriver?

Hi Siddhart, checkout the following script to ...READ MORE

answered Aug 26, 2019 in Selenium by Abha
• 27,910 points
501 views