Cross-Site Project Works Locally but Fails on Linux with 'Target Element is Disabled' Error

Hello everyone,

I am running a UiPath project that uses cross-site automation. When I execute it locally on my development machine (Windows), the process works perfectly fine. However, when I deploy and run it on a Linux machine (Docker container), it always fails with the following error:

UiPath.UIAutomationNext.Exceptions.UiNodeDisabledElementException: The target element is disabled. Operation canceled.

Here are some key details about the setup:

  1. The process runs inside a Docker container on a Linux environment.
  2. The project relies on UI Automation activities.

Steps I’ve Taken:

  • Verified that the process runs successfully on Windows.

Despite this, the error persists on Linux.

Questions:

  1. Is UI Automation fully supported on Linux environments for cross-site projects?
  2. Are there additional dependencies or configurations I am missing to enable interaction with UI elements?
  3. Is there a workaround or best practice for resolving the “target element is disabled” error on Linux?

Any help or insights would be greatly appreciated. Thank you!

Hi Daniel, what type of application are you targeting? Can you try to access the docker and manually perform the action that is failing? (I don’t understand if it fails from the beginning or if there is a particular activity that fails)

Thank you for your response! I am targeting a web application.

The issue seems to be with a Click activity that is not being performed correctly. Specifically:

  1. There is an initial Click activity that works perfectly fine.
  2. However, the second button, which appears only after the first button is clicked, is not being found by the automation.
  • The second button is located below the page, which requires a slight scroll to make it visible.

This behavior works seamlessly on my Windows machine, so I’m not sure why it fails on the Linux Docker environment. It seems like the scroll or visibility of the button might be affecting the process.