In UIPath previous version(v2017.1) created a workflow (Based on Web automation) and now updated to v2018.1.
While running the workflow in v2018.1 version throw below exception(Can’t find UI element),
Execution error : UiPath.Core.SelectorNotFoundException: Cannot find the UI element corresponding to this selector: —> System.Runtime.InteropServices.COMException: Cannot find the UI element corresponding to this selector: \r\n at UiPath.UiNodeClass.FindFirst(UiFindScope scope, String nodeID)\r\n at UiPath.Core.UiElement.FindFirst(FindScope scope, Selector selector)\r\n — End of inner exception stack trace —\r\n at UiPath.Core.Activities.InvokeWorkflowFile.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)\r\n at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)\r\n at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)"