linux - 运行 selenium 测试后 Firefox 未关闭

标签 linux firefox selenium

Firefox 运行,但当测试完成执行时,Firefox 保持运行状态。

这是在带有 Firefox 3.6 的 Debian Linux 上。

最佳答案

对此的解决方案是将 Selenium 指向 firefox-bin 文件而不是 firefox 文件,如果它位于/usr/bin/firefox,它可能默认使用。

这个问题解释了如何指定 firefox-bin 的路径: How to explicitly specify a path to Firefox for Selenium?

关于linux - 运行 selenium 测试后 Firefox 未关闭,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3436076/

相关文章:

linux - linux中将主机名添加到/etc/hosts

c++ - 操作系统 LINUX 上的错误 :pipe_select_interrupter: Too many open files,

linux - 将多个 SFTP 命令行转换为单行命令行

javascript - FF插件: How to declare C function fgets in javascript

jquery - 在 Firefox 中检测下载状态

Python Selenium 下拉菜单选择

javascript - 如何以编程方式在 CKEDITOR 中选择文本范围?

linux - 为什么在 linux 中使用压缩内核镜像?

css - Mozilla FF 滚动条问题与 ember-scrollable 插件

python-2.7 - 如何查看“屏幕截图:可通过屏幕获取”?