0

我试图在 bsd 中运行 selenium-rc 并得到以下错误

12:45:40.740 WARN - POST /selenium-server/driver/ HTTP/1.1
java.lang.RuntimeException: Firefox couldn't be found in the path!
Please add the directory containing 'firefox-bin' to your PATH environment
variable, or explicitly specify a path to Firefox like this:
*firefox /blah/blah/firefox-bin

将 firefox-bin 添加到我的路径没有帮助。第二个选项是什么?(“或像这样明确指定 Firefox 的路径”)

有什么解决办法吗?

4

2 回答 2

2

尝试通过将“*firefox”替换为“*firefox /path/to/firefox-bin”来指定路径。

于 2009-04-26T18:14:13.457 回答
0

在我的 ubuntu 9.04 设置中,我将“/usr/lib/firefox-3.0.11”添加到我的 $PATH

于 2009-06-19T01:52:12.450 回答