I am getting the below error while using Edge as browser in my script (Chrome is working fine)
WebDriverException: Message: 'MicrosoftWebDriver.exe' executable needs to be in PATH. Please download from http://go.microsoft.com/fwlink/?LinkId=619687
I have already placed the webdrivers in the folders and updated the path in environment variable, already checked the version compatibility.
Issue was with the selenium version, Edge started working when I upgraded the Selenium Version > 4.