The edge browser being based on webkit, does not support ole automation, so your legacy code will not work.
selenium webdriver is the most common toolkit to automate chrome or edge
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
For IE , we can use the below code to find the browser links. Is there any code which we can get for the Edge browser links in the same way how we are getting for IE in VB or C#.
Dim Sh As Object = CreateObject("Sheel.Application")
For each oWin In sh.Windows
if Typename (oWin.document) = "HTMLDocumentClass"
Next
Using this code we are modifying our browser link easily in IE.
The edge browser being based on webkit, does not support ole automation, so your legacy code will not work.
selenium webdriver is the most common toolkit to automate chrome or edge