I am running my scripts on selenium webdriver and after every 2-3 test case I am getting this pop-up "Firefox stopped working". How should I handle this pop-up?
Follow the below steps to disable popup and error reporting. This will help the selenium tests to proceed further.
Steps to disable Mozilla crash popup
1.1 Turn Off Error Dialog through Group Policy Editor
- Open the Group Policy Editor by typing gpedit.msc into the Start search box or the Run dialog.
- Navigate to Computer Configuration > Administrative Templates > Windows Components > Windows Error Reporting. Double click on “Prevent display of the user interface for critical errors” in the pane on the right.
Open the Registry Editor by typing regedit into the Start search box or the Win+R Run dialog.
Navigate to the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reporting
- Select “Never check for solutions” and click OK. Ask before checking also works because the dialog won’t appear to ask you.