Migrate Automation from Internet Explorer to Microsoft Edge or Microsoft Edge Chromium

How to migrate automation, built on Internet Explorer to Microsoft Edge or Edge Chromium ?

Issue : As Microsoft plans to stop the support for IE soon in 2021, this could lead to forced migration of automation, built on Internet Explorer to Microsoft Edge or Edge Chromium.

 

Resolution : There are no readily available conversion tool currently. However, in order to migrate automation from IE to Edge or Edge Chromium, the below scenarios would be helpful -

 

Scenario 1 : When migration from IE to Edge Legacy, the root <html> tag needs an extra attribute app='ApplicationFrameHost.exe'.

For example:

<html title='Google' />

<webctrl name='btnK' tag='INPUT' type='submit' />

becomes - 

<html app='ApplicationFrameHost.exe' title='Google' />

<webctrl name='btnK' tag='INPUT' type='submit' />

Additionally, the Open Browser and Attach Browser activities need the correct BrowserType Edge instead of IE and this should be sufficient for the majority of the selectors.

Installing Edge Extension : https://docs.uipath.com/studio/docs/extension-for-edge

 

Scenario 2: When migration from IE to Edge Chromium, the root <html> tag needs an extra attribute app='msedge.exe'.

For example:

<html title='Google' />

<webctrl name='btnK' tag='INPUT' type='submit' />

becomes -

<html app='msedge.exe' title='Google' />

<webctrl name='btnK' tag='INPUT' type='submit' />

Additionally, the Open Browser and Attach Browser activities need the correct BrowserType Edge instead of IE and this should be sufficient for the majority of the selectors.

Installing Edge Chromium Extension : https://docs.uipath.com/studio/docs/extension-for-edge-chromium