How to close Restore Pages pop up in Chrome

When the browser is launched by BOT, i am getting below “Restore Pages” pop up in Chrome.
It is happening when we kill chrome process already.

Is there any way to close this pop up once browser launched by BOT?
There are some changes we can do in program files to avoid this. But i wanted to know if there is anything can be done from UiPath itself?
I have tried to capture the selector, but cannot locate the selector for close button seperately.

1 Like

If you enable the UiPath plugin in private mode, and open the browser in private mode, this window will never pop up.

1 Like

Hi i see this issue was long back… but replying hoping it helps if anyone searches for same issue… @vigneshnkv we can set few properties from google preferences to disable the “restore pages” settings.
The pop-up is shown as kill process close the browser abruptly.

  1. Go to C:\Users<>\AppData\Local\Google\Chrome\User Data\Default
  2. Now right click on preferences file
  3. Open with notepad.

4.Search for “exit_type” and “exited_cleanly”
5. Change the values to “exit_type” : “none”, and “exited_cleanly”: true,
6.Save the file and close it.
7. Change the properties of the file to “Read-Only”
This serves the purpose. :smiley:


I spent a lot of time solving this issue. Finally i’ve solved it by your solution.In case of Chronium Edge, same method is ok too. 1.Go to C:\Users<>\AppData\Local\Micrrosoft\Edge\User Data\Default

1 Like

Now, I can close the pop up with UiPath basic click activity itself. i.e., selectors are capturing and working.
uiPath version: 2020.4.3
Chrome Version: 77.0.3865.90


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.