Today When I wanted to run Selenium server I found it hung at “Preparing Firefox profile…” and didn’t open a firefox window. After doing some google work I found the problem happened because the “selenium-server.jar” doesn’t support firefox 3.6.*, which was installed with Ubuntu 10.04(Firefox 3.6.3). The solution I found is to change the firefox version configuration in the “selenium-server.jar” file. Then the problem resolved.
今天在我的Ubuntu 10.04上运行Selenium的时候发现问题：当试图打开一个firefox窗口时，server控制台打印“Preparing Firefox profile…”然后无反应。经过搜索发现问题出在“selenium-server.jar”不支持最新的firefox 3.6.*, 而Ubuntu 10.04安装的firefox版本是正是3.6.3，所以产生问题。解决方案的思路是修改“selenium-server.jar”文件中关于firefox版本的配置，使其能够支持3.6.*版本。具体的步骤如下：
These steps should work for you on Unix, Mac or cygwin on windows. In case you are not using any of these, you would need to figure out the corresponding steps for our platform.
# Create a directory where you could manipulate the jar’s contents.