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.
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.
Go to C:\Users<>\AppData\Local\Google\Chrome\User Data\Default
Now right click on preferences file
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.
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
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