Unable to launch Edge browser through environmental variable | Selenium Forum
H
Harshad W Posted on 12/09/2020

Hi,

I am not able to launch the Edge browser using the Environment variables. The error says,

"The path to the driver executable must be set by the webdriver.edge.driver system property" Chrome and FF don't throw any errors. 

However, if I launch it using,

System.setProperty("webdriver.edge.driver","D:/drivers/msedgedriver.exe");

it gets launched without any issues. What is the reason behind this? I am using the following versions of Edge and EdgeDriver:

Edge Version 85.0.564.51

Edge driver x64 Version: 85.0.564.51 

I am using Win 8.1 x 64 bit machine. 

Thanks,

 


A
Ashish 5 days ago

Did you add the path of web driver to the PATH Variable?

if yes, try restarting your machine.


Related Posts