Cannot find target with display not connected

Hi,

Can someone clarify something for me ? Do automations run on computers with no active displays.
I have 2 computers, both connected to the same display. One runs my bot and the other I work on.
The bot iterates trough an excel table containing links, and downloads a csv from each link.
The sites has an annoying chrome “save as” window and I’m force to add to use another “use browser” activity. Sometimes it goes trough 1000 rows with no issues and other times it stops after 5-10.

Does this have anything to do with the fact that the screen is not active ?
I get the : “Could not find the user-interface (UI) element for this action.”

I tried :

  • adding a delay before the click on the save button
  • deactivating the download confirmation in chrome
  • adding and removing anchor points
  • changing the target to the wildcard

Only thing that seems to work is keeping the screen connected to that pc.

The screen is probably locking. You can’t run automations that way. If you want it to run while you aren’t on the machine, you need to run it unattended via Orchestrator.

Hi @daniel.tevi,

Considering that the screen timeout is set to a specific duration, in this case, there should have been errors in close proximity to the expected transaction count.

My suggestion would be to add logs step by step to determine if the “Could not find the user-interface (UI) element” error consistently occurs in the same activity. If that’s the case, it is likely that there is a delay in the expected screen.

Regards,
MY