In Dynamic Browser Code, code work is not working for Edge browser however its working fine for Mozilla and Chrome. | Selenium Forum
P
pateljp19 Posted on 29/06/2020

While executing program of dynamic browser, its working fine for Mozilla and chrome whereas error is dislpayed to update the driver path though all valid drivers are kept at same location.

 

Please refer attached word doc containing code and screenshots for more details.


S
Support Team Replied on 01/07/2020

Restart system and try

What is version of your edge. Please check in help menu and let me know


P
pateljp19 Replied on 03/07/2020

I have restarted eclipse as well as system multiple time still the error exists.

I am using Version 83.0.478.58.

 

 

Responsive image


S
Support Team Replied on 06/07/2020

Now download the exe corresponding to this version from Microsoft site


P
pateljp19 Replied on 06/07/2020

I have tried updating the driver exe in past and today as well but still same error.

 

[RemoteTestNG] detected TestNG version 6.14.3
FAILED: login
java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.edge.driver system property; for more information, see https://github.com/SeleniumHQ/selenium/wiki/MicrosoftWebDriver. The latest version can be downloaded from http://go.microsoft.com/fwlink/?LinkId=61968

 

Responsive image


S
Support Team 3 days ago

Just try to set the system property in code

See if it works?


P
pateljp19 1 day ago

Yes it works fine with system property.