How not to wait for element to disappear?

Hello

When I execute an activity on UiPath, I noticed that the robot waits for the element to disappear to continue to the next activity

Example: the robot clicks on a button, then the application starts charging and opens a new application

The robot doesn’t continue to the next activities unless the button disappears. However, the button disappearing depends on the robot continuing on the next application. So it gets stuck…

I do not want that. I didn’t see any property in that sense

Can you help ?

1 Like

Hi @adext

Are you using check app state?

Regards

hello @vrdabberu

no, i am using a click, then an attach window for the new app

and the robot gets stuck between the click and the next activity

@adext

Use on element disappear activity

i do not want to wait for the element to disappear

Try to set “WaitForReady”/“Wait for page load” to None.

it still doesn’t work :confused:

Hello @adext

Try this, after your click, use “Check App State” instead of the “Attach Window” for your next activity and put inside the “Target appears” block what you want to be done afterwards.

Do not forget to set an element to appear in the “Check App State”.

Cheers

Is it the same with all input methods (chromium, simulate, window messages, hardware)?

It’s not waiting for the thing you clicked to disappear (things don’t usually disappear, anyway). It’s waiting for the UI element for the next activity to appear.

Hi Adext,
You can use the Check App State Activity as follow:

Cheers!

but the next element did appear but the robot was still focused on the last element

It’s just working on finding the next activity’s element and executing the activity. Various things come into play like waiting for the page to finish loading, etc.

@adext

To clarify things up…

  1. Please show your flow
  2. Validate the so called next selector and see if it is really validated
  3. If the next selector is on differenr window or page then are you using a different use application/browser

Cheers