Based on selenium to test the content of the Firefox page, selenium sever always hang in
Preparing Firefox profile... won't be started, Firefox cannot be started, and the test script cannot be run.
I'm using the selenium-remote-control-1.0.1-dist version,
Google found that selenium does not support Firefox of later versions. The solution is as follows:
1. Use WinRAR or 7zip to open the selenium-server.jar;
2. Search for two directories: customprofiledircustffchrome and customprofiledircustff;
3. Search each directory and edit the following lines for each file install. RDF:
Modify
<! -- Firefox -->
<Em: targetapplication>
<Description>
<Em: Id> {ec8030f7-c20a-464f-9b0e-13a3a9e97384} </em: Id>
<Em: minversion> 1.4.1 </em: minversion>
<Em: maxversion> 4. * </em: maxversion>
</Description>
</Em: targetapplication>
Is
<! -- Firefox -->
<Em: targetapplication>
<Description>
<Em: Id> {ec8030f7-c20a-464f-9b0e-13a3a9e97384} </em: Id>
<Em: minversion> 1.4.1 </em: minversion>
<Em: maxversion> 4. * </em: maxversion>
</Description>
</Em: targetapplication>
You can also change it to a larger version to support a higher firefox version. After modification, Firefox is started successfully.