Skip to Content
Technical Articles
Author's profile photo Peter Engel

SAP Process Automation / SAP Intelligent RPA: Adopt the new Google Manifest V3

Google published last year their plans to publish Manifest V3 to replace the Manifest V2 to enhance the security of web applications and the Chrome browser.

Google will finally deactivate the Manifest V2 end of 2022, so starting on January 1st, 2023 you need to be ready to use it.

Why is this important for you?

Desktop Agent comes with a browser extension. The extension is used for executing web automation it is also a bridge between the Cloud Studio and the Agent while designing, debugging or recording even non-web content. This extension needs to follow some patterns and declaration known as “manifest”.

For enabling trusted browsing experience, Google has decided to sunset the manifest v2 of browser extension to a new one called manifest v3. Almost all extension providers are impacted by this decision. All browsers based on Chromium (Google Chrome, Microsoft Edge…) will follow this policy. Such policy will most likely be applied by other providers.

Some rework were needed to keep the core functions of our web connector. It is needed to install the latest version of the Agent. However, some advanced functions will not work due to the enhanced security decided by Google.

Timeline from Google

Details are here:

https://developer.chrome.com/docs/extensions/mv3/mv2-sunset/

  • In January 2022 no new MV2 extension (except private/hidden extensions)
  • In June 2022 no new private extensions allowed
  • In January 2023 almost ALL extensions based on Manifest V2 will cease to work
  • In June 2023 ALL enterprise exception (if any) will cease to work to

What does this mean for you?

Google implements CSP (Content Security Policy) with the Manifest V3 for reducing potential attacks by applying strict rules. In our case, the policy drives how far a web page might be modified.

Here is an overview what is possible with CSP on/off:

 

The following SDK activities are impacted:

SDK Activity With CSP disabled (*) With CSP enabled (*) Additional Information
getInfos Available Available
getAttribute Available Available
getAttributes Available Available
insertButton Available Available Without code
insertImageButton Available Available Without code
insertHTML Available Available Without code
insertAnchor Available Available Without code
insertObject Available Available Details Coming soon
evalScript With limitations Not available When the script is already within the HTML source
injectFile Not available Not available It will be no longer possible to use this activity
injectFunction Not available Not available It will be no longer possible to use this activity
scriptItem With limitations With limitations Only with read-only actions, not for modifying

How to avoid any problems in production?

You need to install at least the Desktop Agent 2208 version on all your machines. This will give you an extension compatible with the Manifest V3.

The following table shows when which Manifest version is supported:

More details are available here.

Perform Tests before the deadline with the new Agent and the new Extension on existing projects.

Report problems (if any) to SAP.

It is safer to update now with the new version. To that end all versions PRIOR 2208 will be tagged as “Decommission soon”.

Check SAP Note 3224093

Conclusion

Now you are informed how you can avoid any trouble with the Manifest update by Google.

 

 

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Carina Sorrocher
      Carina Sorrocher

      Hello Peter,

      Thanks a lot of for this blog.

      I have 2 questions on this topic:

      1- Is it necessary to install at latest Desktop Agent 2208 version on end user machines that do not interact with web pages?

      2- How can I see if it was really installed on agent V3 and not V2?
      You see, the enterprise is big and i don't install the Desktop Agent versions , but i'm management the factory.
      For example, I installed at latest Desktop Agent 2208 version in my Agent, but i can't see V3, at the factory or at Destop Agent. How can i see it?

      Thanks in advance

      Best, Carina.-

      Author's profile photo Alexandre FORTIN
      Alexandre FORTIN

      Hello,

      For answering your questions:

      1/ No, it is not mandatory (it always a good practice to install the latest version of the Agent). The new extension will be automatically deployed later this year. However, it is strongly recommended to perform sanity tests with the latest version of the Agent and the new extension.

      2/ Browser extension version can be checked within the Browser settings

      For more information, SAP Note 3224093 is available.

      Cheers,

      Alex