Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98775

MicrosoftWebDriver.exe should be pre-installed in an elevated command prompt

$
0
0

I have microsoft edge installed on my machine with below versions:

Microsoft Edge 44.18362.449.0
Microsoft EdgeHTML 18.18363

I am trying to use webdrivermanager to run my automation test (java+selenium) on Edge by the below code:

WebDriverManager.edgedriver().setup();
            driver = new EdgeDriver();

But, it complains with the below error:

WebDriverManagerException: MicrosoftWebDriver.exe should be pre-installed in an elevated command prompt executing: dism /Online /Add-Capability /CapabilityName:Microsoft.WebDriver~~~~0.0.1.0
  1. Shouldn't the webdrivermanager dowbload and install it for me?
  2. How can i fix this issue?

Viewing all articles
Browse latest Browse all 98775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>