How to troubleshoot UI element identification problem in a webpage, launched through local HTML file?
Issue Description
A process was developed to automate the Internet Explorer browser to save the Outlook email in HTML format and read HTML file contents via UI automation. When the HTML webpage file is opened in a Chrome browser, UI Explorer cannot identify elements from the HTML file and is unable to spy on the HTML Content.
Root Cause
Allow in incognito and Allow access to file URLs options are unselected, restricting the access to the HTML content.
Resolution
- Navigate to the UiPath Chrome extension.
- Make sure the Allow in incognito and Allow access to file URLs options are selected.
Additionally, there is a known issue where the Click activity with the Simulate input method no longer works on HTML elements. To address this behavior, see the steps in this page: Click activity with Simulate fails on specific web page elements
For more information, refer to the below documentation pages: