If you like did you want to post how you are trying to click the UI element? Perhaps you may need to change the selector or change other wait properties.
If a UI element leads to a new page load I've found it necessary to use "Wait 1 second". "Wait for Window" was not waiting long enough for me.
So if it's a new page load
Wait (ensure it's ready for the command)
Click
Wait 1s (ensure the pane is open)
Wait for Window
Launch new chrome (attach to running instance)
Or if it's a simple button which isn't a page load
Wait (ensure the page is totally loaded; try with a 5sec wait just for testing to be 100% certain it's loaded)
Click link on web page
-> Web browser instance - %AnyVariable% [Make sure you are reliably catching the web browser]
-> Advanced (wait for page to load) [Later remove this as it can cause stalls]
UI Element -> You need to make sure your accurately specifying the UI element. If you are iterating through a process theres a chance the UI element needs to be different based on the given iteration.
Below is a UI element I'm using. Note the use of the variable %RowNum%. This often works well. It's important to understand how UI elements are captured and to be a specific as possible. Being vague often picks the wrong element on the page.
div[Id="applications"] > div[Class="card"] > div[Class="row"]:eq(%RowNum%) > div[Class="mb-4 mb-lg-0 col-md-12 col-lg-11 col-xxl-11"] > div[Class="position-relative"] > h5[Class="d-inline"]
Note also on another program I had to use logic such as
If "ContractorOffer" = Yes
- Click X selector
Else
- Click Y selector
Who knows if this will help. Hopefully you're already there!