Selenium bsd中的硒rc
我试图在bsd中运行selenium 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
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可执行文件的路径。