Following the Microsoft announcement of the IE11 end of support starting in 2021, you might want to migrate your automation processed from IE to Chrome, Edge or Firefox.
Below are a few important aspects to help you plan and implement the migration.
The UiPath automation for Chrome, Edge or Firefox uses browser extensions. These are offered as part of Studio and SetupExceptions tool, so please consider their installation on the test/production environments. The documentation provides instructions on how to install them based on your scenarios. Here are few helpful links:
If you plan to use Edge (Chromium) UIA support, you should know that this is available starting with:
If you currently run on 18.4.x and plan to stay on 18.4.x, the Edge Chromium support is unavailable to 18.4 Robots. However, Chrome support is there.
Workflow migration aspects
For all the OpenBrowser/AttachBrowser activities, you need to change the BrowserType property from IE to Chrome/Edge/Firefox.
You can regenerate all the selectors using the target browser + the extension.
Alternatively, you can update all the top level selectors with the proper “app” tag. Note, most of the IE selectors, do not contain an “app” tag.
<html title='SomeTitle' /> <webctrl aaname='SOMENAME' parentid='main' tag='A' />
<html app='iexplore.exe' title='SomeTitle' /> <webctrl aaname='SOMENAME' parentid='main' tag='A' />
<html **app='chrome.exe'** title=SomeTitle' /> <webctrl aaname='NAME' parentid='main' tag='A' />
- app=‘msedge.exe’ for the Edge selectors
- app=‘chrome.exe’ for the Chrome selectors
- app=‘firefox.exe’ for the Firefox selectors
Mind the variables and reusable libraries.
If the source process has selectors starting with “<wnd …,” tag, you need to regenerate those via Studio->activity->indicate function. These selectors identify windows like pop-ups or alerts, which are rendered differently by IE vs Chrome/Edge/Firefox.
Selector identifying an IE alert window:
<wnd app='iexplore.exe' cls='#32770' title='Message from webpage' />
Selector identifying and Edge window:
<wnd app='msedge.exe' cls='Chrome_WidgetWin_1' title='SomeTitle- *' /> <ctrl name='SomeName' role='dialog' />
Last but not least: test, test, test – thoroughly test everything.
Hope this helps.