Firefox停止为Selenium 2.45工作 [英] Firefox has stopped working for Selenium 2.45

查看:96
本文介绍了Firefox停止为Selenium 2.45工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在intelliJIDEA上运行测试服时遇到了这个问题.

I have been getting this issue when I run test suit on intelliJIDEA.

错误详细信息如下:

Problem signature:
Problem Event Name: APPCRASH
Application Name:   firefox.exe
Application Version:    39.0.0.5659
Application Timestamp:  55933a80
Fault Module Name:  xul.dll
Fault Module Version:   39.0.0.5659
Fault Module Timestamp: 55934bcf
Exception Code: c0000005
Exception Offset:   001e39c7
OS Version: 6.1.7601.2.1.0.256.4
Locale ID:  1033
Additional Information 1:   0a9e
Additional Information 2:   0a9e372d3b4ad19135b953a78882e789
Additional Information 3:   0a9e
Additional Information 4:   0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\windows\system32\en-US\erofflps.txt

Firefox 39版和Selenium 2.45版

Firefox version 39 and selenium version 2.45

我为我的项目尝试了mvn全新安装,但在本地运行测试时firfox总是崩溃.

I tried mvn clean install for my project but firfox always crashes when running tests locally.

有解决方案吗?

推荐答案

请按照以下步骤禁用弹出窗口和错误报告.这将有助于硒测试的进一步进行.

禁用Mozilla崩溃弹出窗口的步骤

Steps to disable Mozilla crash popup

1.1通过组策略编辑器关闭错误对话框

  1. 在开始"搜索框或运行"对话框中键入gpedit.msc,打开组策略编辑器.
  2. 导航到计算机配置">管理模板">"Windows组件">"Windows错误报告".双击右侧窗格中的防止出现严重错误的用户界面显示".
  3. 单击启用"单选按钮,然后按确定". 1.2通过注册表关闭错误对话框

  1. Open the Group Policy Editor by typing gpedit.msc into the Start search box or the Run dialog.
  2. 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.
  3. Click on the radio button Enabled and then press OK. 1.2 Turn Off Error Dialog via Registry

在开始"搜索框或"Win + R运行"对话框中键入regedit,打开注册表编辑器.

Open the Registry Editor by typing regedit into the Start search box or the Win+R Run dialog.

导航至以下注册表项:

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ Windows错误报告

HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reporting

  1. 双击右侧的DontShowUI条目并将其值更改为1,然后关闭注册表编辑器.
    1.3禁用Windows错误报告

  1. Double click the DontShowUI entry on the right and change its value to 1, then close the registry editor.
    1.3 Disabling Windows Error Reporting

转到控制面板">操作中心">更改操作中心设置"(左上方)>问题报告设置".

Go to Control Panel > Action Center > Change Action Center settings (top left) > Problem reporting settings.

这篇关于Firefox停止为Selenium 2.45工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆