Hi everyone!
I’m working on deploying a bot that interacts with web elements on a remote virtual machine located behind a VPN. The issue is that when the bot runs unattended, it frequently fails during web automation tasks like clicking on elements, entering text into fields, or retrieving element properties. The error message is always the same: “CAN_NOT_FIND_HTML_ELEMENT”.
However, when I log back into the virtual machine via AnyDesk (I don’t have direct RDP access), the target webpage appears to load perfectly fine, and there are no visible issues with the elements.
Has anyone else encountered a similar issue when deploying a bot in such an environment? Also, does anyone know how to force the VM’s graphical environment to remain active or consistently rendered when unattended?