Hello,
we have an extension which allows us to automate the browser for testing purposes, this extension only works in conjunction with the Tricentis Tosca.
https://chrome.google.com/webstore/detail/tosca-automation-extensio/njjjlolnnicemgigahffncnddbioccpo
We had a first look into the new chrome Manifest V3.
Unfortunately, we found out that some main functions of our extension won’t work with the new manifest version.
We have encountered the following issues until now, and would ask if there are known workarounds to achieve the same results?
Loading of dynamic java script:
You are stating that there is no more execution of dynamic scripts in the content scripts of the extension. This is critical for us since we have functions to execute Javascript content, where the content is created dynamically outside the content script of the extension and then executed over the extension.
We found out that Tampermonkey was running into the same issues but resolved it.
https://github.com/Tampermonkey/tampermonkey/issues/644. Unfortunately, it is not explained how it was solved.
Do you have any input on this?
Service Workers:
Also, we are facing some issues with the Service Workers since they get recycled after some time.
1.Currently our background page opens a websocket connection to a websocket server running in a local Windows service and registers itself in this service as an available Chrome instance. This connection is necessary because we want to control Chrome from Tosca. Now the question is how we can implement this in the new Serviceworker concept since the connection is disconnected when the Serviceworker is recycled.
2. Our background page currently holds some caches that we can't easily persist to the local storage, since the objects in those caches are not primitive types. Here we need to find out if these cached objects can be changed to be recreated from the local storage.
Thanks,
Mile Djokic