• Selenium启动火狐浏览器后报错Plugin Container for firefox已停止工作


    运行Selenium代码,浏览器打开报:Plugin Container for firefox已停止工作。据了解这个是插件不兼容,可能是Flash或者其他插件等兼容性问题。情况如下图:



    解决办法如下:

    该扩展是为了保证插件稳定运行而存在的辅助进程,出现此问题多半是因为某个插件冲突或安装异常所致。比较常见的办法是先尝试禁用所有插件(注,是插件,不是扩展),然后使用安全模式(firefox -safe -mode)或新建配置文件(firefox -p -no -remote),在排除扩展的干扰下使用排除法进行问题的定位。

    一、使用安全模式

    在CMD下进入安装路径,运行firefox -safe-mode,如下图:



    二、新建配置文件

    在CMD下进入安装路径,运行firefox -p -no -remote,如下图:



    三、卸载Flash安装最新版,或者直接卸载Flash,能不用则不用Flash。或者关闭进程,其操作如下:

    启动火狐在地址栏中输入”about:config“然后回车;
    再在地址栏下过滤器中输入“plugins”。
    dom.ipc.plugins.enabled

    dom.ipc.plugins.enabled.npctrl.dll

    dom.ipc.plugins.enabled.npqtplugin.dll

    dom.ipc.plugins.enabled.npswf32.dll

    dom.ipc.plugins.enabled.nptest.dll


    找到以上5项把它们的值都改为“false”,这样下次就不会再跟着启动了。


    四、尽量使用Chrome浏览器,其安装插件会成熟,稳定一些。


    五、更多问题可以参考如下链接:http://tieba.baidu.com/p/2673481884

  • 相关阅读:
    【转】Redis和Memcache对比及选择
    Ubuntu下php环境的搭建
    【HTML和CSS】总结
    【python】 The different between ' %r ' and ' %s '
    Learn Python The Hard Way
    Vim 插件配置及快捷键
    sublime-text 插件配置
    mysql-5.7在CentOS-7下的rpm安装
    oracle pdb基本管理
    Oracle 12cR2 Installation On CentOS-7
  • 原文地址:https://www.cnblogs.com/haixianglan/p/13942941.html
Copyright © 2020-2023  润新知