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.
Instructor
Ashish Thakur Replied on 01/07/2020
Restart system and try
What is version of your edge. Please check in help menu and let me know
I have restarted eclipse as well as system multiple time still the error exists.
I am using Version 83.0.478.58.
Instructor
Ashish Thakur Replied on 06/07/2020
Now download the exe corresponding to this version from Microsoft site
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
Instructor
Ashish Thakur Replied on 09/07/2020
Just try to set the system property in code
See if it works?
Yes it works fine with system property.
Instructor
Ashish Thakur Replied on 30/07/2020
You can use this System.set property method for a while as ms edge is migrating to a new platform.