Automating applications that run on Microsoft Edge (Chromium)
Interrogate and automate applications that run on the Microsoft Edge browser by using the Pega Edge extension with the Universal Web Adapter in Pega Robotic Automation.
The Pega Edge extension is backwards compatible; the newer versions of the extension work with older versions of Pega Robotic Automation. To see when versions of the extension were released, see the Pega Robotic Automation build notes.
Installing the extension
Use the Setup wizard for Robot Studio and Robot Runtime to install the Pega Edge extension. To update users from the command line, use the command line installation with the INST_Edge=1 parameter to install the extension. For more information, see the installation instructions.
If you install Robot Studio or Robot Runtime without the Pega Edge extension and later want to install the extension, use the web installer utility. This utility is located in the Robot Studio or Robot Runtime installation folder. The following is an example of the command you enter to install the extension and update the messaging host for Edge.
OpenSpan.WebExtensionInstaller.exe Edge -i
Enabling the extension
After installing the Pega Edge extension, the first time any user starts Robot Runtime, that user must decide whether to enable or uninstall the Edge extension. Automation developers, of course, would enable the extension. Automation end users must enable the extension so Robot Runtime can automate the browser. If automation end users do not enable the extension, you must perform a manual process to recover and re-install the extension. For more information, contact Pega Support.
Keep in mind the following considerations as you use Robot Studio to interrogate and automate Microsoft Edge.
Automating tables in Edge
You can interrogate rows of data and cells within those rows. Use cloning to work with tables. For more information, see Interrogating HTML tables with the Universal Web Adapter.
Running Robot Runtime and Edge in administrator mode
If you plan to run Robot Runtime in administrator mode, you must also run Edge in administrator mode. For example, if the target application that you are automating is running with elevated privileges, then you must run Robot Runtime with similar privileges. To ensure that Edge runs with elevated privileges, in the AdditionalArguments property of the Universal Web Adapter in Robot Studio, add the following parameter: --do-not-de-elevate
Automating applications that are running in compatibility mode
The following additional considerations apply when you interrogate Microsoft Edge running in Internet Explorer (IE) compatibility mode. Microsoft designed Internet Explorer (IE) mode for situations where you need Internet Explorer 11 to retain compatibility with legacy websites and applications, but also need a modern browser for more modern websites and applications. To automate Microsoft Edge running in compatibility mode, use Pega Robotic Automation 19.1.86 or later.
- Interrogate and then stop each Edge adapter before you begin interrogating another Edge adapter. Attempting to interrogate two different Edge adapters simultaneously results in errors.
- Shut down all Edge processes before you interrogate compatibility-mode pages.
- When you run an automation that contains a Universal Web Adapter with compatibility-mode pages, shut down all Edge processes before you start Robot Runtime.
- The controls that you interrogate on a compatibility-mode page generate legacy web automation controls and match rules.
- To have access to the properties, methods, and events of a frame or top-level Windows form in your automation, use non-global webpages.
- When you use multiple Universal Web Adapters with Edge and compatibility-mode pages, ensure that the Edge Configuration properties for each Edge adapter are the same.
Using Microsoft Group Policy to control Edge policies
If you use a Microsoft Group Policy Object (GPO) to control Edge policies, and you enable the Configure native messaging block list setting in the Native Messaging section to block all extensions, perform the following steps to provide Robot Studio and Robot Runtime with the access they need to function correctly.
- Start the Microsoft Local Group Policy Editor.
- Select .
- In the Control which native messaging hosts users can use setting, add the following messaging-host executable so that messaging host is not blocked:
- Save your changes and close the Local Group Policy Editor.
Also, if you enable the Control which extensions cannot be installed setting in the Extensions section to block all extensions, add the Extension ID to the Allow specific extensions to be installed setting so that the extension can be installed.