运行硒测试后,Firefox不关闭 [英] Firefox not closing after selenium tests are run

查看:115
本文介绍了运行硒测试后,Firefox不关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Firefox运行,但是当测试结束时,Firefox执行完毕。

这是Debian Linux的Firefox 3.6。解决方案是将Selenium指向firefox-bin文件,而不是firefox文件,如果它位于/ usr / bin / firefox 。

这个问题解释了如何指定firefox-bin的路径:
如何显式指定一个Firefox Selenium路径?


Firefox runs, but when the tests finish executing Firefox stays up.

This is on Debian Linux with Firefox 3.6.

解决方案

The solution to this was to point Selenium at the firefox-bin file instead of the firefox file, which it may use by default if it's at /usr/bin/firefox.

This question explains how to specify a path to firefox-bin: How to explicitly specify a path to Firefox for Selenium?

这篇关于运行硒测试后,Firefox不关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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