I have faced the same issue. I followed the below steps to resolve it :-
Download the correct Microsoft WebDriver
server version for your build.
How to find your correct build number :-
1- Go to Start > Settings > System > About and locate the number next to OS Build on the screen. This is your build number. Having the correct version of WebDriver for your build ensures it runs correctly.
2- Run this command systeminfo | findstr /B /C:"OS Version"
this will give the output like OS Version: 10.0.10586 N/A Build 10586
. Here is build number is 10586
You need to check your Windows OS build number
and download
appropriate .msi
and install it.
Provide the Syetem
property where MicrosoftWebDriver.exe
installed to webdriver.edge.driver
.
Note :- The Default installed location of the MicrosoftWebDriver.exe
:-
for 64 bit is C:Program Files (x86)Microsoft Web Driver
for 32 bit is C:Program FilesMicrosoft Web Driver
Hope it will work...:)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…