This occurs mainly when we close the browser through Automation. The pop up may cause failure in identifying the controls which gets hidden below the Restore popup .
Solution – Navigate to c\users\username\appdata\local\google\chrome\userdata\Default
search for a file called “Preferences”
, Open the file in notepad , find a setting called “exit_type=CRASH” ,
change value to “none” instead of crash .
Save the File and quickly change the file permissions to read only from properties.
Note – Better to do it when the all bowser instances arr closed.