Inject Js Script 처리시 아래와 같은 오류가 납니다.
혹시 원인 아시는분 도움부탁드려요~
** scriptCode
“document.querySelector('#projectAdminForm > div.tabs_pro_a_tag > ul > li:nth-child(” + i.ToString() + “) > a’).innerText”
**오류메시지
19.6.0+Branch.master.Sha.adf20656f41da84cdec5e5620b62276717eb7319
Source: Inject Js Script
Message: Error HRESULT E_FAIL has been returned from a call to a COM component.
Exception Type: UiPath.Core.ElementOperationException
RemoteException wrapping UiPath.Core.ElementOperationException: Error HRESULT E_FAIL has been returned from a call to a COM component. —> RemoteException wrapping System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
at UiPath.UiNodeClass.InjectAndRunJS(String bstrCode, String bstrInputText)
at UiPath.Core.UiElement.InjectAndRunJS(String code, String input)
— End of inner exception stack trace —
at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)