I have tried to narrow it down some more.
I tried to use a Classic “Click” outside of the open browser/attach browser scrope, the time out occured after 49 seconds, better but still not 30 seconds.
Some more details about where the issue occurs in the process. It happens after the robot click on a save button but this pop up window appears:
The robot then tries to click on the element that causes the long time outs. One thing I noticed is that the “Validate” button takes some seconds to load when I inspect it(With the pop up window above):
Some time it validates and becomes green and some times red.
So it seems that the"embedded page" popup window creates some kind of disturbence.
Maybe there is a plugin issue/bug or that it cant handle it or it handles it but slowly.
But the really strange thing is why did the time out take 6 min and 1 second when upgrading the dependency to UiPath.UIAutomation.Activities to 23.10.3.
In the same process if the error occurs somwhere else the time out is 30 sec as it should be.
So the issue seems to be when the popup window above appears.