Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Selenium bsd中的硒rc_Selenium_Selenium Rc_Bsd - Fatal编程技术网

Selenium bsd中的硒rc

Selenium bsd中的硒rc,selenium,selenium-rc,bsd,Selenium,Selenium Rc,Bsd,我试图在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 explic

我试图在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的路径”)


任何解决方案?

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

在我的Ubuntu9.04设置中,我在$path中添加了“/usr/lib/firefox-3.0.11”

注意-forcedBrowserModeRestOfLine选项可用于设置firefox可执行文件的路径。