Error HRESULT E_FAIL has been returned from a call to a COM component.
I have used inject js script to scroll down in a webpage, it was ran in my past computer, but in new computer its not working throwing an error “HRESULT E_FAIL has been returned from a call to a COM component”
Hello @M_Raju , can you share more detail about the situations. In my past experience this happened also due to the different versions of Google Chrome. Do you have the same version in both devices?
Only the specific Inject javascript activity is not working remaining everything is fine. I used it on Microsoft Edge browser. I transferred this project file from my past laptop.
Yes but may happen that due to change of versioning it can cause not to work properly. Are you able to share the script?
Yes, also checked the edge versions. Version is same in past laptop and present laptop.
The script is just scrolling - “function ExecuteScript(){
window.scrollTo(0, 10000);
}”
I used more Javascript code activity, every javascript code activity occurring same error “HRESULT E_FAIL has been returned from a call to a COM component.”