Restore pages in edge

Hi,

Please tell me the best way to handle restore pages popup in edge browser using UiPath

Hi @garimavarshney9

give a try with

Go to C:\Users\yourUser\AppData\Local\Microsoft\Edge\User Data\Default

  • Search Preferences file
  • Open file with notepad
  • Search the value “exit_type”:“Normal” and change it to “exit_type”: “none”
  • Save & Close the preferences file
  • Right-click on the file and make it read-only else edge will update this file again with initial values.

Regards

I can’t change machine setting.
I need to handle popup via code

Hi @garimavarshney9

Try this:
In Arguments properties in Use Application/Browser (for Edge Browser), provide “–hide-crash-restore-bubble” as argument

Let me know if it works

Cheers

@garimavarshney9

Whenever you open browser you can first include a click on closing restore pages with continue on error property checked

Cheers

then you should choise the @Anil_G suggestion, thats the best approach for your case