UiPath chrom automation

I am using chrome for web auomation.
the challenge maybe if the site is idle for a partocular time it raises one popup like session expired /do you want to conitnue.
How to tackle this situation?

Hi @Ritaman_Baral

Use Check App State activity

1 Like

To handle situations where a website displays a session expired or a confirmation popup due to inactivity during a web automation process using UiPath,

you can follow these steps:

1.Detect the Popup:

Use the “Element Exists” activity to check for the presence of the session expired or confirmation popup.

Configure this activity to target the popup elements or a specific element within the popup.
Set a reasonable timeout to wait for the popup to appear.

  1. Conditional Logic:
  • Place the “Element Exists” activity within a conditional branch or Flow Decision.
  • If the session expired or confirmation popup is detected (Element Exists activity returns true), proceed to the next steps.
  1. Handle the Popup:
  • Inside the conditional branch, use “Click” or “Type Into” activities to interact with the popup.
  • If the popup has a “Continue” button, use the “Click” activity to click on it.
  • If it requires user input, you can use the “Type Into” activity to provide necessary information.

@Ritaman_Baral

1 Like