Hello,
I’m getting this error while running inject js. I’m using chrome browser for this.
“Inject Js Script ‘App Store’: Error HRESULT E_FAIL has been returned from a call to a COM component.”
I tried the method available on forum but didn’t work a out.
Thanks,
iampnkz
(Pankaj KUMAR)
June 22, 2026, 12:30pm
2
Hi @Codeverse ,
Are you getting this error in an existing solution or a new process?
Could you please check if Inject JS is enabled in Chrome and the UiPath extension is properly installed and active?
You can verify this by going to chrome://extensions and making sure the UiPath Web Automation extension is enabled.
This will help us narrow down the issue faster.
Thanks
@Codeverse
Did you checked the below thread and also downgrade the UiAutomation package version and give a try, check below few versions from current version and see in which version it is working.
Latest update
downgrade the dependence Uipath.UIAutomation.Activites from 19.11.0 to 19.10.1, refer below for details
[dependenciesVersion]
remove attach browser , use open browser with inject js
give a selector to Inject JS active
followed above steps , this issue not reproduce again. But for my business logic , I need to use attach browser active.
Happy Automation
Hi @iampnkz ,
I checked both the scenario it’s working file inject JS is enabled and chrome web extension is also working fine.
Thanks
Hi @yedukondaluaregala ,
I’m trying two thing now one is downgrade automation package and second one is checking code in chunks for syntax error.
Thanks
Sure let us know if that works.